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