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