diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2015-02-17 13:28:50 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2015-02-17 13:28:50 -0500 |
commit | 6b99c7aee539e35b8e67520f36adeca9007641cb (patch) | |
tree | 7e265900e63512889109048047ee6a1b103c4339 /src/state.h | |
parent | 783b308990e7c4ef0837a102a138778f73e4d2b7 (diff) | |
download | therapy-6b99c7aee539e35b8e67520f36adeca9007641cb.tar.gz therapy-6b99c7aee539e35b8e67520f36adeca9007641cb.tar.bz2 therapy-6b99c7aee539e35b8e67520f36adeca9007641cb.zip |
Refactored map loader and added a second map
Also tweaked the font for apostrophe, p, and q
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 | ||