duncan
Mom and Dad were wrong!
|
#include <startstate.h>
Public Member Functions | |
StartState () | |
std::tr1::shared_ptr< State > | child () |
void | resize (unsigned int, unsigned int) |
void | on_push () |
void | on_active () |
State::Action | update () |
void | draw () |
Base state from which the game runs.
Get the player and server details.
see LICENSE
StartState::StartState | ( | ) |
Initialise members.
std::tr1::shared_ptr< State > StartState::child | ( | ) | [virtual] |
Get the child state (to be pushed on top of this).
Reimplemented from client::State.
void StartState::draw | ( | ) | [virtual] |
Draw a friendly message prompting the user for her name, along with the current name.
Reimplemented from client::State.
void StartState::on_active | ( | ) | [virtual] |
Set action to default.
Reimplemented from client::State.
void StartState::on_push | ( | ) | [virtual] |
Set the action to default.
Reimplemented from client::State.
void StartState::resize | ( | unsigned int | r, |
unsigned int | c | ||
) | [virtual] |
Handle a window resize.
r | number of rows |
c | number of columns |
Reimplemented from client::State.
State::Action StartState::update | ( | ) | [virtual] |