1 2 3 4 5 6 7 8 9 10 11 12 13 14 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