|
Last change
on this file since 1878 was
1873,
checked in by patrick, 22 years ago
|
|
orxonox/trunk: now realy playable - not a beauty but it moves…
|
|
File size:
392 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 | #define BASE_STEP 2 |
|---|
| 12 | |
|---|
| 13 | class InputOutput { |
|---|
| 14 | |
|---|
| 15 | private: |
|---|
| 16 | World* world; |
|---|
| 17 | Player* player; |
|---|
| 18 | |
|---|
| 19 | public: |
|---|
| 20 | InputOutput (World* wld, Player* player); |
|---|
| 21 | ~InputOutput (); |
|---|
| 22 | |
|---|
| 23 | void goUp(void); |
|---|
| 24 | void goDown(void); |
|---|
| 25 | void goLeft(void); |
|---|
| 26 | void goRight(void); |
|---|
| 27 | void shoot(void); |
|---|
| 28 | |
|---|
| 29 | |
|---|
| 30 | }; |
|---|
| 31 | |
|---|
| 32 | #endif |
|---|
Note: See
TracBrowser
for help on using the repository browser.