- Timestamp:
- Dec 4, 2017, 4:17:43 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/Asteroid_HS17/src/modules/asteroids2D/Asteroids2D.h
r11619 r11637 79 79 void levelUp(); 80 80 81 82 //For HUD 81 83 int getLives(){return this->lives;} 82 84 int getLevel(){return this->level;} … … 84 86 int getMultiplier(){return this->multiplier;} 85 87 88 //Generate Stones 86 89 void spawnStone(); 87 90 void setCenterpoint(Asteroids2DCenterPoint* center) 88 { this->center_ = center; } 91 { this->center_ = center; } 92 void addPoints(int numPoints); 89 93 virtual void addBots(unsigned int amount) override{} //<! overwrite function in order to bypass the addbots command 90 94 91 95 // checks if multiplier should be reset. 92 96 void costLife(); 93 97 Asteroids2DShip* getPlayer(); 94 98 95 99 bool bEndGame; … … 101 105 102 106 103 Asteroids2DShip* getPlayer(); 107 104 108 WeakPtr<Asteroids2DShip> player; 105 109 void toggleShowLevel(){bShowLevel = !bShowLevel;} 106 void addPoints(int numPoints);107 110 108 111 WeakPtr<Asteroids2DCenterPoint> center_;
Note: See TracChangeset
for help on using the changeset viewer.