diff options
Diffstat (limited to 'src/state.h')
-rw-r--r-- | src/state.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/state.h b/src/state.h new file mode 100644 index 0000000..1a97a1b --- /dev/null +++ b/src/state.h | |||
@@ -0,0 +1,12 @@ | |||
1 | #ifndef STATE_H | ||
2 | #define STATE_H | ||
3 | |||
4 | class State | ||
5 | { | ||
6 | public: | ||
7 | virtual void input(SDLKey key) = 0; | ||
8 | virtual void tick() = 0; | ||
9 | virtual void render(SDL_Surface* screen) = 0; | ||
10 | }; | ||
11 | |||
12 | #endif | ||