Creates a MenuState object. Creates a MenuState object that inherits State.
More...
#include <menuState.h>
|
StateManager * | stateManager |
|
SDL_Renderer * | renderer |
|
std::string | name |
|
Creates a MenuState object. Creates a MenuState object that inherits State.
MenuState::MenuState |
( |
StateManager * |
inStateManager, |
|
|
SDL_Renderer * |
inRenderer |
|
) |
| |
MenuState::~MenuState |
( |
| ) |
|
A function to draw to the screen A function to draw to the screen using the renderer
Implements State.
bool MenuState::HandleSDLEvents |
( |
| ) |
|
|
virtual |
A function to handle the SDL events A function to handle the SDL events for use with the MenuState
- Returns
- bool if false then quit MenuState
Implements State.
void MenuState::Update |
( |
float |
deltaTime | ) |
|
|
virtual |
The documentation for this class was generated from the following files:
- PGGAssignment1SDL/menuState.h
- PGGAssignment1SDL/menuState.cpp