- Timestamp:
- Nov 6, 2017, 3:32:04 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FlappyOrx_HS17/src/modules/flappyorx/FlappyOrxShip.cc
r11529 r11537 70 70 if(getHealth()<0){ 71 71 getGame()->costLife(); 72 getGame()->end(); 72 getGame()->death(); 73 death(); 73 74 } 74 75 Vector3 pos = getPosition(); … … 151 152 void FlappyOrxShip::death() 152 153 { 153 154 Vector3 pos = getPosition(); 155 pos.x = 0; 156 setPosition(pos); 154 157 } 155 158 }
Note: See TracChangeset
for help on using the changeset viewer.