summary refs log tree commit diff stats
path: root/src/state.h
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2015-02-17 13:28:50 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2015-02-17 13:28:50 -0500
commit6b99c7aee539e35b8e67520f36adeca9007641cb (patch)
tree7e265900e63512889109048047ee6a1b103c4339 /src/state.h
parent783b308990e7c4ef0837a102a138778f73e4d2b7 (diff)
downloadtherapy-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.h13
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
6class State {
7public:
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