46 virtual bool input() = 0;
52 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:15
SDL_Renderer * renderer
Definition: State.h:21
Creates a StateManager object. Creates a StateManager object to be inherited.
Definition: StateManager.h:13
virtual ~JAM_State()
Definition: State.cpp:21
virtual void update(float deltaTime)=0
int screenWidth
Definition: State.h:23
JAM_StateManager * stateManager
Definition: State.h:19
int screenHeight
Definition: State.h:25
JAM_State(JAM_StateManager *stateManager, SDL_Renderer *renderer, int screenWidth, int screenHeight)
Definition: State.cpp:6