|
Last change
on this file since 1866 was
1858,
checked in by patrick, 22 years ago
|
|
orxonox/trunk/core: world draw function
|
|
File size:
297 bytes
|
| Line | |
|---|
| 1 | |
|---|
| 2 | #ifndef PLAYER_H |
|---|
| 3 | #define PLAYER_H |
|---|
| 4 | |
|---|
| 5 | |
|---|
| 6 | class Player { |
|---|
| 7 | |
|---|
| 8 | public: |
|---|
| 9 | Player (); |
|---|
| 10 | ~Player (); |
|---|
| 11 | |
|---|
| 12 | void setPosition(int x, int y, int z); |
|---|
| 13 | void getPosition(int* x, int* y, int* z); |
|---|
| 14 | void drawPlayer(void); |
|---|
| 15 | |
|---|
| 16 | private: |
|---|
| 17 | /* position of the space craft */ |
|---|
| 18 | int xCor; |
|---|
| 19 | int yCor; |
|---|
| 20 | int zCor; |
|---|
| 21 | |
|---|
| 22 | |
|---|
| 23 | |
|---|
| 24 | }; |
|---|
| 25 | |
|---|
| 26 | #endif |
|---|
Note: See
TracBrowser
for help on using the repository browser.