diff options
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 |