36 State(
StateManager* stateManager, SDL_Window* window,
int screenWidth,
int screenHeight);
47 virtual bool input() = 0;
53 virtual void update(
float dt) = 0;
58 virtual void draw() = 0;
Creates a State object. Creates a State object to be inherited. DISCLAMER - This is a modified versio...
Definition: State.h:16
State(StateManager *stateManager, SDL_Window *window, int screenWidth, int screenHeight)
Definition: State.cpp:6
Creates a StateManager object. Creates a StateManager object to be inherited. DISCLAMER - This is my ...
Definition: StateManager.h:13
StateManager * stateManager
Definition: State.h:20
SDL_Window * window
Definition: State.h:22
SDL_Window * getWindow()
Definition: State.cpp:29
virtual ~State()
Definition: State.cpp:21
int screenHeight
Definition: State.h:26
int screenWidth
Definition: State.h:24
virtual void update(float dt)=0