4 #include "../../State.h" 5 #include "../../StateManager.h" Creates a State object to be inherited.
Definition: State.h:13
void draw()
A function to draw the State to the screen.
Definition: Help.cpp:60
Creates a StateManager object.
Definition: StateManager.h:9
StateManager * stateManager
A pointer to the state manager.
Definition: State.h:64
void update()
A function to update the State.
Definition: Help.cpp:54
SDL_Window * window
The window to display to.
Definition: State.h:66
A State that contains and runs the Demo.
Definition: Help.h:10
~Help()
Destructs the State object.
Definition: Help.cpp:16
Help(StateManager *stateManager, SDL_Window *window)
Constructs the State object.
Definition: Help.cpp:9
std::string backgroundMusicID
The background music id.
Definition: Help.h:43
std::string gameHelp
The game help info.
Definition: Help.h:45
bool input()
Handles the State input.
Definition: Help.cpp:20