Changeset 10032 in orxonox.OLD for branches/playability/src/world_entities/space_ships/space_ship.h
- Timestamp:
- Dec 6, 2006, 7:07:24 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/space_ships/space_ship.h
r10030 r10032 72 72 73 73 virtual void enterPlaymode(Playable::Playmode playmode); 74 void setPlaymodeXML(const std::string& playmode); 74 75 virtual void movement (float dt); 75 76 … … 77 78 void init(); 78 79 79 void calculateVelocity(float time);80 //void calculateVelocity(float time); 80 81 81 82 void regen(float time); //!< handler for shield and electronic regeneration … … 131 132 bool bAscend; //!< ascend button pressed. 132 133 bool bDescend; //!< descend button presses. 133 // bool bFire; //!< fire button pressed.(moved to playable)134 134 bool bRollL; //!< rolling button pressed (left) 135 135 bool bRollR; //!< rolling button pressed (right) … … 144 144 int controlVelocityY; 145 145 */ 146 // float cycle; //!< hovercycle147 146 148 149 Vector velocity; //!< the velocity of the player. 150 //Vector oldVelocity; //!< the velocity the player had last synced 151 152 147 Vector velocity; //!< the velocity of the player. 153 148 154 149 // 2D-traveling … … 173 168 */ 174 169 175 Quaternion direction; //!< the direction of the ship.170 //Quaternion direction; //!< the direction of the ship. 176 171 float acceleration; //!< the acceleration of the ship. 177 172 //float airFriction; //!< AirFriction.
Note: See TracChangeset
for help on using the changeset viewer.