Changeset 2036 in orxonox.OLD for orxonox/trunk/src/player.h
- Timestamp:
- Jun 27, 2004, 7:48:44 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/player.h
r1956 r2036 3 3 #define PLAYER_H 4 4 5 /* openGL Headers */ 6 #include <GL/glut.h> 5 #include "world_entity.h" 7 6 8 #include "shoot_laser.h" 9 #include "shoot_rocket.h" 10 #include "data_tank.h" 7 class ShootLaser; 8 class ShootRocket; 11 9 12 class Player { 10 11 class Player : public WorldEntity 12 { 13 13 14 14 public: … … 23 23 float collisionRadius; 24 24 25 25 26 /* this player wanna shoot? so include a ref to ShootLaser */ 26 27 ShootLaser* shootLaser; … … 30 31 void getPosition(float* x, float* y, float* z); 31 32 void setCollisionRadius(float radius); 33 void paint(); 32 34 void goX(float x); 33 35 void goY(float y);
Note: See TracChangeset
for help on using the changeset viewer.