source:
orxonox.OLD/orxonox/branches/gui/src/input_output.h
@
1983
| Last change on this file since 1983 was 1977, checked in by bensch, 21 years ago | |
|---|---|
| File size: 444 bytes | |
| Rev | Line | |
|---|---|---|
| [1872] | 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 | ||
| [1904] | 11 | #include "data_tank.h" |
| [1872] | 12 | |
| 13 | class InputOutput { | |
| 14 | ||
| 15 | private: | |
| 16 | World* world; | |
| 17 | Player* player; | |
| 18 | ||
| [1900] | 19 | float step; |
| 20 | ||
| [1872] | 21 | public: |
| 22 | InputOutput (World* wld, Player* player); | |
| 23 | ~InputOutput (); | |
| 24 | ||
| [1900] | 25 | void setPlayerStep(float step); |
| [1872] | 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.










