diff options
Diffstat (limited to 'src/game.h')
| -rw-r--r-- | src/game.h | 7 |
1 files changed, 7 insertions, 0 deletions
| diff --git a/src/game.h b/src/game.h index 46f1ab2..bb99543 100644 --- a/src/game.h +++ b/src/game.h | |||
| @@ -4,6 +4,13 @@ | |||
| 4 | #include <vector> | 4 | #include <vector> |
| 5 | #include "sprite.h" | 5 | #include "sprite.h" |
| 6 | 6 | ||
| 7 | struct Input { | ||
| 8 | bool left = false; | ||
| 9 | bool right = false; | ||
| 10 | bool up = false; | ||
| 11 | bool down = false; | ||
| 12 | }; | ||
| 13 | |||
| 7 | class Game { | 14 | class Game { |
| 8 | public: | 15 | public: |
| 9 | 16 | ||
