Creates a State object. Creates a State object to be inherited. Made using information from http://blog.nuclex-games.com/tutorials/cxx/game-state-management/ and Peter Allen.
More...
#include <state.h>
|
StateManager * | stateManager |
|
SDL_Renderer * | renderer |
|
std::string | name |
|
Creates a State object. Creates a State object to be inherited. Made using information from http://blog.nuclex-games.com/tutorials/cxx/game-state-management/ and Peter Allen.
State::State |
( |
StateManager * |
inStateManager, |
|
|
SDL_Renderer * |
inRenderer |
|
) |
| |
Constructs a State object Constructs a State object
- Parameters
-
A virtual destructor for the State object A virtual destructor for the State object
virtual void State::Draw |
( |
| ) |
|
|
pure virtual |
std::string State::GetStateName |
( |
| ) |
|
virtual bool State::HandleSDLEvents |
( |
| ) |
|
|
pure virtual |
virtual void State::Update |
( |
float |
deltaTime | ) |
|
|
pure virtual |
The documentation for this class was generated from the following files:
- PGGAssignment1SDL/state.h
- PGGAssignment1SDL/state.cpp