diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2009-06-19 10:57:53 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2009-06-19 10:57:53 -0400 |
commit | 684a27ce13a9a08f4f1d94621cdab1232d2d33cf (patch) | |
tree | 4b85d42802b588767b6ac7b6972f2093154c7196 /src/state.h | |
parent | 1e3808b3338ff3b1499e000ce1f23e87d6050b8c (diff) | |
download | mazeoflife-684a27ce13a9a08f4f1d94621cdab1232d2d33cf.tar.gz mazeoflife-684a27ce13a9a08f4f1d94621cdab1232d2d33cf.tar.bz2 mazeoflife-684a27ce13a9a08f4f1d94621cdab1232d2d33cf.zip |
Added GNU configure stuff
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 | ||