|
Last change
on this file since 1885 was
1879,
checked in by patrick, 21 years ago
|
|
orxonox/trunk: perspective view, key-repeat bug fixed
|
|
File size:
417 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 STEP_SIDE 0.4 |
|---|
| 12 | #define STEP_FRONT 0.2 |
|---|
| 13 | |
|---|
| 14 | class InputOutput { |
|---|
| 15 | |
|---|
| 16 | private: |
|---|
| 17 | World* world; |
|---|
| 18 | Player* player; |
|---|
| 19 | |
|---|
| 20 | public: |
|---|
| 21 | InputOutput (World* wld, Player* player); |
|---|
| 22 | ~InputOutput (); |
|---|
| 23 | |
|---|
| 24 | void goUp(void); |
|---|
| 25 | void goDown(void); |
|---|
| 26 | void goLeft(void); |
|---|
| 27 | void goRight(void); |
|---|
| 28 | void shoot(void); |
|---|
| 29 | |
|---|
| 30 | |
|---|
| 31 | }; |
|---|
| 32 | |
|---|
| 33 | #endif |
|---|
Note: See
TracBrowser
for help on using the repository browser.