diff options
Diffstat (limited to 'gamestate.h')
-rw-r--r-- | gamestate.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gamestate.h b/gamestate.h index 1d66a9e..727c8f1 100644 --- a/gamestate.h +++ b/gamestate.h | |||
@@ -7,12 +7,14 @@ class GameState : public State { | |||
7 | int playerx, playery; | 7 | int playerx, playery; |
8 | bool newGame; | 8 | bool newGame; |
9 | bool doneMaking; | 9 | bool doneMaking; |
10 | Level level; | ||
10 | Board board; | 11 | Board board; |
11 | void move(int x, int y); | 12 | void move(int x, int y); |
12 | 13 | ||
13 | public: | 14 | public: |
14 | GameState(SDL_PixelFormat* fmt); | 15 | GameState(); |
15 | void input(SDLKey key); | 16 | void input(SDLKey key); |
17 | void tick(); | ||
16 | void render(SDL_Surface* screen); | 18 | void render(SDL_Surface* screen); |
17 | }; | 19 | }; |
18 | 20 | ||