diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2009-06-18 16:24:02 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2009-06-18 16:24:02 -0400 |
commit | 10ccc825777c7ce8797fc58e1484dd93f19368cf (patch) | |
tree | 75333f5f5abc653a621e442129613fd4fdade8c1 /gamestate.h | |
download | mazeoflife-10ccc825777c7ce8797fc58e1484dd93f19368cf.tar.gz mazeoflife-10ccc825777c7ce8797fc58e1484dd93f19368cf.tar.bz2 mazeoflife-10ccc825777c7ce8797fc58e1484dd93f19368cf.zip |
Created base
Diffstat (limited to 'gamestate.h')
-rw-r--r-- | gamestate.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gamestate.h b/gamestate.h new file mode 100644 index 0000000..f906bf6 --- /dev/null +++ b/gamestate.h | |||
@@ -0,0 +1,15 @@ | |||
1 | #ifndef GAMESTATE_H | ||
2 | #define GAMESTATE_H | ||
3 | |||
4 | class GameState : public State { | ||
5 | private: | ||
6 | bool blocks[WIDTH][HEIGHT]; | ||
7 | Uint32 on; | ||
8 | Uint32 off; | ||
9 | |||
10 | public: | ||
11 | GameState(SDL_PixelFormat* fmt); | ||
12 | void render(SDL_Surface* screen); | ||
13 | }; | ||
14 | |||
15 | #endif | ||