summary refs log tree commit diff stats
path: root/gamestate.h
diff options
context:
space:
mode:
Diffstat (limited to 'gamestate.h')
-rw-r--r--gamestate.h15
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
4class 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