|
Last change
on this file since 2015 was
1956,
checked in by bensch, 21 years ago
|
|
orxonox/trunk: now the Trunk should be merged with the new Makefile. Hopefully it works
|
|
File size:
444 bytes
|
| Line | |
|---|
| 1 | |
|---|
| 2 | |
|---|
| 3 | |
|---|
| 4 | #ifndef INPUT_OUTPUT_H |
|---|
| 5 | #define INPUT_OUTPUT_H |
|---|
| 6 | |
|---|
| 7 | #include "world.h" |
|---|
| 8 | #include "input_output.h" |
|---|
| 9 | #include "player.h" |
|---|
| 10 | |
|---|
| 11 | #include "data_tank.h" |
|---|
| 12 | |
|---|
| 13 | class InputOutput { |
|---|
| 14 | |
|---|
| 15 | private: |
|---|
| 16 | World* world; |
|---|
| 17 | Player* player; |
|---|
| 18 | |
|---|
| 19 | float step; |
|---|
| 20 | |
|---|
| 21 | public: |
|---|
| 22 | InputOutput (World* wld, Player* player); |
|---|
| 23 | ~InputOutput (); |
|---|
| 24 | |
|---|
| 25 | void setPlayerStep(float step); |
|---|
| 26 | void goUp(void); |
|---|
| 27 | void goDown(void); |
|---|
| 28 | void goLeft(void); |
|---|
| 29 | void goRight(void); |
|---|
| 30 | void shoot(void); |
|---|
| 31 | |
|---|
| 32 | |
|---|
| 33 | }; |
|---|
| 34 | |
|---|
| 35 | #endif |
|---|
Note: See
TracBrowser
for help on using the repository browser.