source:
orxonox.OLD/orxonox/trunk/core/player.h
@
1872
Last change on this file since 1872 was 1872, checked in by patrick, 20 years ago | |
---|---|
File size: 481 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 | ||
[1858] | 16 | void setPosition(int x, int y, int z); |
17 | void getPosition(int* x, int* y, int* z); | |
[1872] | 18 | void goX(int x); |
19 | void goY(int y); | |
20 | void goZ(int x); | |
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 */ | |
27 | int xCor; | |
28 | int yCor; | |
29 | int zCor; | |
30 | ||
[1858] | 31 | |
32 | ||
[1853] | 33 | }; |
34 | ||
35 | #endif |
Note: See TracBrowser
for help on using the repository browser.