source:
orxonox.OLD/orxonox/trunk/src/input_output.h
@
2164
| Last change on this file since 2164 was 2036, checked in by patrick, 21 years ago | |
|---|---|
| File size: 408 bytes | |
| Rev | Line | |
|---|---|---|
| [1872] | 1 | |
| 2 | ||
| 3 | ||
| 4 | #ifndef INPUT_OUTPUT_H | |
| 5 | #define INPUT_OUTPUT_H | |
| 6 | ||
| 7 | ||
| [2036] | 8 | |
| [1904] | 9 | #include "data_tank.h" |
| [1872] | 10 | |
| [2036] | 11 | class World; |
| 12 | class Player; | |
| 13 | ||
| [1872] | 14 | class InputOutput { |
| 15 | ||
| 16 | private: | |
| 17 | World* world; | |
| 18 | Player* player; | |
| 19 | ||
| [1900] | 20 | float step; |
| 21 | ||
| [1872] | 22 | public: |
| 23 | InputOutput (World* wld, Player* player); | |
| 24 | ~InputOutput (); | |
| 25 | ||
| [1900] | 26 | void setPlayerStep(float step); |
| [1872] | 27 | void goUp(void); |
| 28 | void goDown(void); | |
| 29 | void goLeft(void); | |
| 30 | void goRight(void); | |
| 31 | void shoot(void); | |
| 32 | ||
| 33 | ||
| 34 | }; | |
| 35 | ||
| 36 | #endif |
Note: See TracBrowser
for help on using the repository browser.










