- Timestamp:
- Dec 4, 2017, 2:38:03 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FlappyOrx_HS17/src/modules/flappyorx/FlappyOrx.h
r11620 r11624 21 21 * 22 22 * Author: 23 * Leo Me hr Holz23 * Leo Merholz 24 24 * Pascal Schärli 25 * Co-authors: 26 * ... 25 27 * 26 28 */ … … 67 69 virtual void end() override; 68 70 virtual void death(); 69 virtual void addBots(unsigned int amount) override{} //<! overwrite function in order to bypass the addbots command 70 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 71 72 void setspawnDistance( int spawnDistance) 73 {this->spawnDistance = spawnDistance; } 74 int getspawnDistance() 75 { return this->spawnDistance; } 76 inline void setSpeed( float speed ){ 77 orxout()<< speed<< endl; 78 this->speed = speed; } 79 inline float getSpeed( ) 80 { return this->speed; } 81 71 82 72 void updatePlayerPos(int x); 83 73 void createAsteroid(Circle &c); … … 159 149 "Well, that was a waste of time", 160 150 "You suck!", 161 "Maybe try SuperOrxoBros? That game is not as hard.", 162 "Here's a tip: Try not to fly into these grey thingies."}; 151 "Maybe try SuperOrxoBros. That game is not as hard.", 152 "Here's a tip: Try not to fly into these grey thingies.", 153 "We won't comment on that."}; 163 154 std::vector<std::string> DeathMessage30 = { 164 155 "Getting better!", … … 182 173 "Wow, we're really impressed", 183 174 "We will honor you!", 184 "Please do that again!", 185 "Take that golden medal! You've earned it"}; 175 "Please, please do that again!", 176 "Take that golden medal! You've earned it", 177 "We are completely speechless! That was magnificent"}; 186 178 187 179
Note: See TracChangeset
for help on using the changeset viewer.