Changeset 3238 in orxonox.OLD for orxonox/branches/sound/src/player.h
- Timestamp:
- Dec 20, 2004, 2:42:54 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/sound/src/player.h
r2551 r3238 4 4 */ 5 5 6 #ifndef PLAYER_H7 #define PLAYER_H6 #ifndef _PLAYER_H 7 #define _PLAYER_H 8 8 9 9 #include "world_entity.h" 10 #include "importer/object.h" 10 11 11 12 //! Basic controllable WorldEntity … … 15 16 16 17 public: 17 Player 18 ~Player 18 Player(bool isFree = false); 19 ~Player(); 19 20 20 virtual void post _spawn();21 virtual void tick 22 virtual void hit 23 virtual void destroy 24 virtual void collide (WorldEntity* other,Uint32 ownhitflags, Uint32 otherhitflags);25 virtual void command 21 virtual void postSpawn(); 22 virtual void tick(float time); 23 virtual void hit(WorldEntity* weapon, Vector loc); 24 virtual void destroy(); 25 virtual void collide(WorldEntity* other, Uint32 ownhitflags, Uint32 otherhitflags); 26 virtual void command(Command* cmd); 26 27 27 virtual void draw 28 virtual void get _lookat(Location* locbuf);28 virtual void draw(); 29 virtual void getLookat(Location* locbuf); 29 30 30 virtual void left _world();31 virtual void leftWorld(); 31 32 32 33 private: … … 34 35 bool bFire; 35 36 Vector velocity; 36 float travel _speed;37 float travelSpeed; 37 38 float acceleration; 39 GLuint objectList; 40 Object* obj; 38 41 39 void move 42 void move(float time); 40 43 41 44 }; 42 45 43 #endif 46 #endif /* _PLAYER_H */
Note: See TracChangeset
for help on using the changeset viewer.