diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2009-06-18 17:20:59 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2009-06-18 17:20:59 -0400 |
commit | 71045152800ab0cc0dce6ec70dba9d7f9bb9dab5 (patch) | |
tree | 7a2f76780cfd16ecf22ff82a0229631b83f5cd0a /gamestate.h | |
parent | 024d098c686ae971176332d91db91582ad353c17 (diff) | |
download | mazeoflife-71045152800ab0cc0dce6ec70dba9d7f9bb9dab5.tar.gz mazeoflife-71045152800ab0cc0dce6ec70dba9d7f9bb9dab5.tar.bz2 mazeoflife-71045152800ab0cc0dce6ec70dba9d7f9bb9dab5.zip |
Started Board class
Diffstat (limited to 'gamestate.h')
-rw-r--r-- | gamestate.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gamestate.h b/gamestate.h index 36de42e..1d66a9e 100644 --- a/gamestate.h +++ b/gamestate.h | |||
@@ -3,13 +3,12 @@ | |||
3 | 3 | ||
4 | class GameState : public State { | 4 | class GameState : public State { |
5 | private: | 5 | private: |
6 | bool blocks[WIDTH][HEIGHT]; | ||
7 | Uint32 on; | ||
8 | Uint32 off; | ||
9 | Uint32 player_color; | 6 | Uint32 player_color; |
10 | int playerx, playery; | 7 | int playerx, playery; |
8 | bool newGame; | ||
9 | bool doneMaking; | ||
10 | Board board; | ||
11 | void move(int x, int y); | 11 | void move(int x, int y); |
12 | void wrap(int* x, int* y); | ||
13 | 12 | ||
14 | public: | 13 | public: |
15 | GameState(SDL_PixelFormat* fmt); | 14 | GameState(SDL_PixelFormat* fmt); |