Last change
on this file since 2105 was
2036,
checked in by patrick, 20 years ago
|
orxonxo/trunk/src: extended framework: class inheritance, right including (had som bugs), framework not finished yet
|
File size:
408 bytes
|
Line | |
---|
1 | |
---|
2 | |
---|
3 | |
---|
4 | #ifndef INPUT_OUTPUT_H |
---|
5 | #define INPUT_OUTPUT_H |
---|
6 | |
---|
7 | |
---|
8 | |
---|
9 | #include "data_tank.h" |
---|
10 | |
---|
11 | class World; |
---|
12 | class Player; |
---|
13 | |
---|
14 | class InputOutput { |
---|
15 | |
---|
16 | private: |
---|
17 | World* world; |
---|
18 | Player* player; |
---|
19 | |
---|
20 | float step; |
---|
21 | |
---|
22 | public: |
---|
23 | InputOutput (World* wld, Player* player); |
---|
24 | ~InputOutput (); |
---|
25 | |
---|
26 | void setPlayerStep(float step); |
---|
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.