summary refs log tree commit diff stats
path: root/gamestate.h
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2009-06-18 18:02:54 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2009-06-18 18:02:54 -0400
commit7b92903af52dbdf4b0dbfa10dc45345531d88595 (patch)
treed27f2ca24df37788a110919c5395faa3962b12d4 /gamestate.h
parent71045152800ab0cc0dce6ec70dba9d7f9bb9dab5 (diff)
downloadmazeoflife-7b92903af52dbdf4b0dbfa10dc45345531d88595.tar.gz
mazeoflife-7b92903af52dbdf4b0dbfa10dc45345531d88595.tar.bz2
mazeoflife-7b92903af52dbdf4b0dbfa10dc45345531d88595.zip
Added Level class
Diffstat (limited to 'gamestate.h')
-rw-r--r--gamestate.h4
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