44 virtual bool input() = 0;
51 virtual void update(
float deltaTime) = 0;
57 virtual void draw() = 0;
Creates a State object. Creates a State object to be inherited.
Definition: state.h:14
Creates a StateManager object. Creates a StateManager object to be inherited.
Definition: stateManager.h:10
StateManager * stateManager
Definition: state.h:18
SDL_Renderer * renderer
Definition: state.h:20
virtual ~State()
Definition: state.cpp:21
State(StateManager *, SDL_Renderer *, int, int)
Definition: state.cpp:6
int screenHeight
Definition: state.h:23
virtual void update(float deltaTime)=0
int screenWidth
Definition: state.h:22