45 virtual bool input() = 0;
52 virtual void update(
float deltaTime) = 0;
58 virtual void draw() = 0;
Creates a State object. Creates a State object to be inherited. DISCLAIMER - This code is from my PGG...
Definition: state.h:15
Creates a StateManager object. Creates a StateManager object to be inherited. DISCLAIMER - This code ...
Definition: stateManager.h:11
StateManager * stateManager
Definition: state.h:19
SDL_Renderer * renderer
Definition: state.h:21
virtual ~State()
Definition: state.cpp:21
State(StateManager *, SDL_Renderer *, int, int)
Definition: state.cpp:6
int screenHeight
Definition: state.h:24
virtual void update(float deltaTime)=0
int screenWidth
Definition: state.h:23