From 10ccc825777c7ce8797fc58e1484dd93f19368cf Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Thu, 18 Jun 2009 16:24:02 -0400 Subject: Created base --- gamestate.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 gamestate.h (limited to 'gamestate.h') diff --git a/gamestate.h b/gamestate.h new file mode 100644 index 0000000..f906bf6 --- /dev/null +++ b/gamestate.h @@ -0,0 +1,15 @@ +#ifndef GAMESTATE_H +#define GAMESTATE_H + +class GameState : public State { + private: + bool blocks[WIDTH][HEIGHT]; + Uint32 on; + Uint32 off; + + public: + GameState(SDL_PixelFormat* fmt); + void render(SDL_Surface* screen); +}; + +#endif -- cgit 1.4.1