source:
orxonox.OLD/orxonox/trunk/core/player.h
@
1885
Last change on this file since 1885 was 1879, checked in by patrick, 20 years ago | |
---|---|
File size: 505 bytes |
Rev | Line | |
---|---|---|
[1853] | 1 | |
2 | #ifndef PLAYER_H | |
3 | #define PLAYER_H | |
4 | ||
[1872] | 5 | /* openGL Headers */ |
6 | #include <GL/glut.h> | |
[1853] | 7 | |
[1872] | 8 | //#include "input_output.h" |
9 | ||
[1853] | 10 | class Player { |
11 | ||
12 | public: | |
13 | Player (); | |
14 | ~Player (); | |
15 | ||
[1879] | 16 | void setPosition(float x, float y, float z); |
17 | void getPosition(float* x, float* y, float* z); | |
18 | void goX(float x); | |
19 | void goY(float y); | |
20 | void goZ(float x); | |
[1872] | 21 | void shoot(int n); |
22 | // void addIO(InputOutput *io); | |
[1858] | 23 | void drawPlayer(void); |
24 | ||
[1856] | 25 | private: |
26 | /* position of the space craft */ | |
[1879] | 27 | float xCor; |
28 | float yCor; | |
29 | float zCor; | |
[1856] | 30 | |
[1858] | 31 | |
32 | ||
[1853] | 33 | }; |
34 | ||
35 | #endif |
Note: See TracBrowser
for help on using the repository browser.