Changeset 10017 for code/branches/pickupsFS14/src/modules/jump/JumpShip.h
- Timestamp:
- Apr 3, 2014, 2:35:54 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pickupsFS14/src/modules/jump/JumpShip.h
r10005 r10017 56 56 // Starts or stops fireing 57 57 virtual void boost(bool bBoost); 58 58 */ 59 59 //no rotation! 60 60 virtual void rotateYaw(const Vector2& value){}; 61 61 virtual void rotatePitch(const Vector2& value){}; 62 62 //return to main menu if game has ended. 63 virtual void rotateRoll(const Vector2& value){ if (getGame()) if (getGame()->bEndGame) getGame()->end();};63 virtual void rotateRoll(const Vector2& value){}; 64 64 65 virtual void updateLevel();65 /*virtual void updateLevel(); 66 66 67 67 virtual inline bool collidesAgainst(WorldEntity* otherObject, btManifoldPoint& contactPoint); … … 72 72 WeakPtr<Jump> getGame(); 73 73 WeakPtr<Jump> game; 74 //Camera* camera; 74 WeakPtr<Camera> camera; 75 const float xVelocity = 150.0f; 76 const float xBoundary = 200.0f; 77 78 75 79 //bool isFireing; 76 80 //float speed; … … 90 94 } velocity, desiredVelocity;*/ 91 95 92 bool left; 93 bool right; 96 bool leftPressed; 97 bool rightPressed; 98 bool upPressed; 99 bool downPressed; 94 100 95 96 101 float yScreenPosition; 102 float yVelocity; 103 const float yAcceleration = 10.0f; 104 const float ySpeedAfterJump = 300.0f; 97 105 }; 98 106 }
Note: See TracChangeset
for help on using the changeset viewer.