Changeset 3746 in orxonox.OLD for orxonox/branches/levelloader/src/world_entities/player.h
- Timestamp:
- Apr 7, 2005, 3:54:49 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/levelloader/src/world_entities/player.h
r3605 r3746 10 10 11 11 template<class T> class tList; 12 class OBJModel;13 12 class Weapon; 13 class Vector; 14 class World; 14 15 15 16 //! Basic controllable WorldEntity … … 19 20 20 21 public: 21 Player( bool isFree = false);22 Player(); 22 23 Player(TiXmlElement* root); 23 24 virtual ~Player(); … … 48 49 tList<Weapon>* weapons;//!< a list of weapon 49 50 Weapon* activeWeapon; //!< the weapon that is currenty activated 51 World* myWorld; //!< reference to the world object 50 52 51 Vector velocity; //!< the velocity of the player.53 Vector* velocity; //!< the velocity of the player. 52 54 float travelSpeed; //!< the current speed of the player (to make soft movement) 53 55 float acceleration; //!< the acceleration of the player. 54 56 55 57 void move(float time); 56 void fire(void);58 void weapon(void); 57 59 58 60 };
Note: See TracChangeset
for help on using the changeset viewer.