Changeset 9829 for code/branches/invaders/src/modules/invader/Invader.h
- Timestamp:
- Nov 25, 2013, 6:51:39 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/invaders/src/modules/invader/Invader.h
r9828 r9829 66 66 int getLevel(){return this->level;} 67 67 int getPoints(){return this->point;} 68 69 void costLife(){lives--; if (lives == 0) orxout() << "end<<<<<<<<<<<<<<<<<" << endl;}; 70 void levelUp(){level++;} 71 void addPoints(int numPoints){point += numPoints * multiplier; b_combo = true;} 72 void comboControll(); 68 73 private: 69 74 WeakPtr<InvaderCenterPoint> center_; … … 72 77 ConsoleCommand* console_addEnemy; 73 78 Timer enemySpawnTimer; 79 Timer comboTimer; 74 80 //Context* context; 75 81 int lives; 76 82 int level; 77 83 int point; 84 bool b_combo; 85 int multiplier; 78 86 }; 79 87 }
Note: See TracChangeset
for help on using the changeset viewer.