summary refs log tree commit diff stats
path: root/state.h
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2009-06-19 20:58:45 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2009-06-19 20:58:45 -0400
commitdf28032e41530c0230b1c72c3684e1bd49c7019e (patch)
tree47abb7f22de30c8e07eca3860c1f3ece77a96ae0 /state.h
parentab18806cddf99514e7ac8d970587e5f1d6d01603 (diff)
downloadmazeoflife-df28032e41530c0230b1c72c3684e1bd49c7019e.tar.gz
mazeoflife-df28032e41530c0230b1c72c3684e1bd49c7019e.tar.bz2
mazeoflife-df28032e41530c0230b1c72c3684e1bd49c7019e.zip
Removed need for DummyState
Diffstat (limited to 'state.h')
-rw-r--r--state.h4
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 @@
4class State 4class 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