Changeset 9837 for code/branches/invaders/src/modules/invader/Invader.h
- Timestamp:
- Dec 2, 2013, 2:08:46 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/invaders/src/modules/invader/Invader.h
r9829 r9837 67 67 int getPoints(){return this->point;} 68 68 69 void costLife(){lives--; if (lives == 0) orxout() << "end<<<<<<<<<<<<<<<<<" << endl;};69 void costLife(){lives--; if (lives <= 0) end();}; 70 70 void levelUp(){level++;} 71 71 void addPoints(int numPoints){point += numPoints * multiplier; b_combo = true;}
Note: See TracChangeset
for help on using the changeset viewer.