bool initialLoop
A boolean for the inital loop.
Definition: MainMenu.h:47
float totalTime
The total running time.
Definition: MainMenu.h:49
std::string menuButtons[4]
The menu buttons.
Definition: MainMenu.h:45
bool input()
Handles the State input.
Definition: MainMenu.cpp:66
std::string menuSprite
The menu sprite.
Definition: MainMenu.h:43
void draw()
A function to draw the State to the screen.
Definition: MainMenu.cpp:161
std::string backgroundMusicID
The background music ID.
Definition: MainMenu.h:51
A State that contains and runs the Main Menu.
Definition: MainMenu.h:10
~MainMenu()
Destructs the State object.
Definition: MainMenu.cpp:58
void update()
A function to update the State.
Definition: MainMenu.cpp:124
MainMenu(StateManager *stateManager, SDL_Window *window)
Constructs the State object.
Definition: MainMenu.cpp:17