- Timestamp:
- Nov 27, 2017, 3:29:03 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FlappyOrx_HS17/src/modules/flappyorx/FlappyOrx.h
r11598 r11600 67 67 virtual void death(); 68 68 virtual void addBots(unsigned int amount) override{} //<! overwrite function in order to bypass the addbots command 69 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 70 71 void setspawnDistance( int spawnDistance) 72 {this->spawnDistance = spawnDistance; } 73 int getspawnDistance() 74 { return this->spawnDistance; } 75 inline void setSpeed( float speed ){ 76 orxout()<< speed<< endl; 77 this->speed = speed; } 78 inline float getSpeed( ) 79 { return this->speed; } 69 80 70 81 void updatePlayerPos(int x); … … 74 85 75 86 void setCenterpoint(FlappyOrxCenterPoint* center); 76 87 77 88 int getPoints(){return this->point;} 78 89 … … 92 103 int spawnDistance; 93 104 int tubeOffsetX; 105 float speed = 100; 94 106 95 107 private:
Note: See TracChangeset
for help on using the changeset viewer.