Changeset 11635
- Timestamp:
- Dec 4, 2017, 4:13:24 PM (7 years ago)
- Location:
- code/branches/FlappyOrx_HS17/src/modules/flappyorx
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FlappyOrx_HS17/src/modules/flappyorx/FlappyOrxShip.cc
r11631 r11635 138 138 139 139 int FlappyOrxShip::timeUntilRespawn(){ 140 return 1-time(0)+deathTime;140 return 2-time(0)+deathTime; 141 141 } 142 142 … … 170 170 171 171 deathTime = time(0); 172 173 //orxout()<<"death time: "<<deathTime<<std::endl;174 172 Vector3 pos = getPosition(); 175 173 pos.x = 0; -
code/branches/FlappyOrx_HS17/src/modules/flappyorx/FlappyOrxShip.h
r11624 r11635 55 55 // Starts or stops fireing 56 56 virtual void boost(bool bBoost) override; 57 58 //return to main menu if game has ended.59 57 60 58 inline void setSpeedBase(float speedBase){ getGame()->setSpeedBase(speedBase);} … … 73 71 inline float getGravity(){ return this->gravity; } 74 72 75 inline void setSpeed( float speed ){ orxout() << "speed set: " << speed << endl;this->speed = speed; }73 inline void setSpeed( float speed ){ this->speed = speed; } 76 74 inline float getSpeed( ){ return this->speed; } 77 75
Note: See TracChangeset
for help on using the changeset viewer.