Changeset 9074 in orxonox.OLD for branches/presentation/src/world_entities/space_ships/spacecraft_2d.h
- Timestamp:
- Jul 3, 2006, 11:55:31 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/world_entities/space_ships/spacecraft_2d.h
r9061 r9074 23 23 virtual void loadParams(const TiXmlElement* root); 24 24 virtual void setPlayDirection(const Quaternion& rot, float speed = 0.0f); 25 void setTravelDirecton(const Quaternion& rot, float speed = 0.0);26 void setTravelSpeed(float travelSpeed);27 28 25 virtual void enter(); 29 26 virtual void leave(); 30 31 32 27 33 28 virtual void postSpawn(); … … 39 34 40 35 virtual void process(const Event &event); 36 37 protected: 38 virtual void enterPlaymode(Playable::Playmode playmode); 41 39 42 40 private: … … 54 52 55 53 54 PNode* travelNode; 56 55 57 PNode travelNode; 58 float travelSpeed; 59 56 PNode cameraNode; 60 57 float cameraLook; 61 58 float rotation; … … 63 60 // Vector velocity; //!< the velocity of the Spacecraft2D. 64 61 Quaternion direction; //!< the direction of the Spacecraft2D. 62 float travelSpeed; //!< the current speed of the Hove (to make soft movement) 65 63 float acceleration; //!< the acceleration of the Spacecraft2D. 66 float maxSpeed; //!< The Maximal speed of the Spacecraft2D.64 float airFriction; //!< AirFriction. 67 65 68 float a ltitude; //!< The height in the Entity.66 float airViscosity; 69 67 70 68 ParticleEmitter* burstEmitter;
Note: See TracChangeset
for help on using the changeset viewer.