diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2009-06-19 20:58:45 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2009-06-19 20:58:45 -0400 |
commit | df28032e41530c0230b1c72c3684e1bd49c7019e (patch) | |
tree | 47abb7f22de30c8e07eca3860c1f3ece77a96ae0 /state.h | |
parent | ab18806cddf99514e7ac8d970587e5f1d6d01603 (diff) | |
download | mazeoflife-df28032e41530c0230b1c72c3684e1bd49c7019e.tar.gz mazeoflife-df28032e41530c0230b1c72c3684e1bd49c7019e.tar.bz2 mazeoflife-df28032e41530c0230b1c72c3684e1bd49c7019e.zip |
Removed need for DummyState
Diffstat (limited to 'state.h')
-rw-r--r-- | state.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/state.h b/state.h index aa83718..bcc7e4a 100644 --- a/state.h +++ b/state.h | |||
@@ -4,9 +4,9 @@ | |||
4 | class State | 4 | class State |
5 | { | 5 | { |
6 | public: | 6 | public: |
7 | virtual void input(SDLKey key) = 0; | 7 | virtual void input(SDLKey key) {}; |
8 | virtual void tick() {}; | 8 | virtual void tick() {}; |
9 | virtual void render(SDL_Surface* screen) = 0; | 9 | virtual void render(SDL_Surface* screen) {}; |
10 | }; | 10 | }; |
11 | 11 | ||
12 | #endif | 12 | #endif |