From ffd335aca284c286030e2b26f1a02a0441748f46 Mon Sep 17 00:00:00 2001 From: Starla Insigna Date: Tue, 27 Aug 2013 11:39:37 -0400 Subject: Started rewriting game from scratch with SDL2 Only the title screen is currently implemented --- state.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'state.h') diff --git a/state.h b/state.h index 7373940..2d6f804 100644 --- a/state.h +++ b/state.h @@ -1,12 +1,12 @@ +#include + #ifndef STATE_H #define STATE_H class State { public: - virtual void input(SDL_keysym key) {}; - virtual void tick() {}; - virtual void render(SDL_Surface* screen) {}; + virtual State* operator() (SDL_Renderer* renderer) {return NULL;}; }; -#endif +#endif \ No newline at end of file -- cgit 1.4.1