Changeset 1994 in orxonox.OLD for orxonox/branches/dave/core/player.h
- Timestamp:
- Jun 21, 2004, 12:39:11 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/dave/core/player.h
r1879 r1994 6 6 #include <GL/glut.h> 7 7 8 //#include "input_output.h" 8 #include "shoot_laser.h" 9 #include "shoot_rocket.h" 10 #include "data_tank.h" 9 11 10 12 class Player { … … 14 16 ~Player (); 15 17 18 /* position of the spacecraft */ 19 float xCor; 20 float yCor; 21 float zCor; 22 23 float collisionRadius; 24 25 /* this player wanna shoot? so include a ref to ShootLaser */ 26 ShootLaser* shootLaser; 27 ShootRocket* shootRocket; 28 16 29 void setPosition(float x, float y, float z); 17 30 void getPosition(float* x, float* y, float* z); 31 void setCollisionRadius(float radius); 18 32 void goX(float x); 19 33 void goY(float y); … … 21 35 void shoot(int n); 22 36 // void addIO(InputOutput *io); 23 void drawPlayer( void);37 void drawPlayer(float a, float b); 24 38 25 39 private: 26 /* position of the space craft */27 float xCor;28 float yCor;29 float zCor;30 31 40 32 41
Note: See TracChangeset
for help on using the changeset viewer.