Last change
on this file since 1977 was
1879,
checked in by patrick, 21 years ago
|
orxonox/trunk: perspective view, key-repeat bug fixed
|
File size:
505 bytes
|
Line | |
---|
1 | |
---|
2 | #ifndef PLAYER_H |
---|
3 | #define PLAYER_H |
---|
4 | |
---|
5 | /* openGL Headers */ |
---|
6 | #include <GL/glut.h> |
---|
7 | |
---|
8 | //#include "input_output.h" |
---|
9 | |
---|
10 | class Player { |
---|
11 | |
---|
12 | public: |
---|
13 | Player (); |
---|
14 | ~Player (); |
---|
15 | |
---|
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); |
---|
21 | void shoot(int n); |
---|
22 | // void addIO(InputOutput *io); |
---|
23 | void drawPlayer(void); |
---|
24 | |
---|
25 | private: |
---|
26 | /* position of the space craft */ |
---|
27 | float xCor; |
---|
28 | float yCor; |
---|
29 | float zCor; |
---|
30 | |
---|
31 | |
---|
32 | |
---|
33 | }; |
---|
34 | |
---|
35 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.