Changeset 4448 in orxonox.OLD for orxonox/trunk/src/lib/coord/pilot_node.h
- Timestamp:
- Jun 1, 2005, 10:55:53 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/coord/pilot_node.h
r4443 r4448 1 1 /*! 2 \file helper_parent.h3 \brief this is a parent class, that isn't visible in the real world itself2 \file pilot_node.h 3 \brief Definition of a PilotNode 4 4 */ 5 5 … … 13 13 class Event; 14 14 15 //! The PilotNode is a node that enables the is driven by the Mouse 15 16 class PilotNode : public WorldEntity, public EventListener { 16 17 … … 19 20 virtual ~PilotNode (); 20 21 21 v oid tick(float time);22 virtual void tick(float time); 22 23 23 v oid process(const Event &event);24 virtual void process(const Event &event); 24 25 25 26 private: … … 27 28 28 29 private: 29 bool bUp;//!< up button pressed.30 bool bDown;//!< down button pressed.31 bool bLeft;//!< left button pressed.32 bool bRight;//!< right button pressed.30 bool bUp; //!< up button pressed. 31 bool bDown; //!< down button pressed. 32 bool bLeft; //!< left button pressed. 33 bool bRight; //!< right button pressed. 33 34 34 int pitch;35 int roll;35 int pitch; //!< the pitch of the node 36 int roll; //!< the roll of the node 36 37 37 Vector* velocity; //!< the velocity of the player.38 float travelSpeed;//!< the current speed of the player (to make soft movement)39 float acceleration;//!< the acceleration of the player.38 Vector* velocity; //!< the velocity of the player. 39 float travelSpeed; //!< the current speed of the player (to make soft movement) 40 float acceleration; //!< the acceleration of the player. 40 41 41 42
Note: See TracChangeset
for help on using the changeset viewer.