- Timestamp:
- Feb 1, 2015, 3:56:21 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/surfaceraceHS14/src/modules/dodgerace/DodgeRaceShip.h
r10234 r10236 57 57 58 58 // overwrite for 2d movement 59 60 59 virtual void moveFrontBack(const Vector2& value); 60 virtual void moveRightLeft(const Vector2& value); 61 61 62 63 62 // Starts or stops fireing 63 virtual void boost(bool bBoost); 64 64 65 66 67 65 //no rotation! 66 virtual void rotateYaw(const Vector2& value){}; 67 virtual void rotatePitch(const Vector2& value){}; 68 68 69 70 69 //return to main menu if game has ended. 70 virtual void rotateRoll(const Vector2& value){if (getGame()) if (getGame()->bEndGame) getGame()->end();}; 71 71 72 72 virtual void updateLevel(); 73 73 74 74 float speed, damping, posforeward; … … 88 88 struct Velocity 89 89 { 90 91 90 float x; 91 float y; 92 92 } velocity, desiredVelocity; 93 93
Note: See TracChangeset
for help on using the changeset viewer.