Last change
on this file since 1900 was
1900,
checked in by patrick, 21 years ago
|
orxonox/trunk: hardware independant game speed, more shoots, more speed - see mail
|
File size:
421 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 | |
---|
12 | class InputOutput { |
---|
13 | |
---|
14 | private: |
---|
15 | World* world; |
---|
16 | Player* player; |
---|
17 | |
---|
18 | float step; |
---|
19 | |
---|
20 | public: |
---|
21 | InputOutput (World* wld, Player* player); |
---|
22 | ~InputOutput (); |
---|
23 | |
---|
24 | void setPlayerStep(float step); |
---|
25 | void goUp(void); |
---|
26 | void goDown(void); |
---|
27 | void goLeft(void); |
---|
28 | void goRight(void); |
---|
29 | void shoot(void); |
---|
30 | |
---|
31 | |
---|
32 | }; |
---|
33 | |
---|
34 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.