Phoenix2D-Library
0.10
|
PlayMode
The PlayMode lorem Ipsum
More...
#include <PlayMode.h>
Public Member Functions | |
PlayMode (Commands *commands) | |
virtual | ~PlayMode () |
void | onStart () |
virtual void | setup (WorldModel world)=0 |
void | onPreExecute () |
virtual void | onPlayerExecute (WorldModel world)=0 |
virtual void | onGoalieExecute (WorldModel world)=0 |
virtual void | onCoachExecute (WorldModel world)=0 |
virtual void | onMessageReceived (std::string message, int sender)=0 |
void | onPostExecute () |
void | onEnd () |
Protected Attributes | |
Commands * | commands |
PlayMode
The PlayMode lorem Ipsum
Definition at line 59 of file PlayMode.h.
Phoenix::PlayMode::PlayMode | ( | Commands * | commands | ) |
Definition at line 26 of file PlayMode.cpp.
References commands.
|
virtual |
Definition at line 30 of file PlayMode.cpp.
|
pure virtual |
void Phoenix::PlayMode::onEnd | ( | ) |
Definition at line 46 of file PlayMode.cpp.
|
pure virtual |
|
pure virtual |
Implemented in Phoenix::PlayOn, Phoenix::BeforeKickOff, Phoenix::CornerKickL, Phoenix::FreeKickR, Phoenix::CornerKickR, Phoenix::FreeKickL, Phoenix::GoalKickL, Phoenix::KickInL, Phoenix::KickInR, Phoenix::KickOffL, Phoenix::KickOffR, and Phoenix::GoalKickR.
Referenced by Phoenix::Parser::parseMessage().
|
pure virtual |
void Phoenix::PlayMode::onPostExecute | ( | ) |
Definition at line 42 of file PlayMode.cpp.
References commands, and Phoenix::Commands::sendCommands().
void Phoenix::PlayMode::onPreExecute | ( | ) |
Definition at line 38 of file PlayMode.cpp.
References commands, and Phoenix::Commands::flush().
void Phoenix::PlayMode::onStart | ( | ) |
Definition at line 34 of file PlayMode.cpp.
References Phoenix::Parser::registerPlayMode().
|
pure virtual |
|
protected |
Definition at line 61 of file PlayMode.h.
Referenced by Phoenix::BeforeKickOff::onPlayerExecute(), onPostExecute(), onPreExecute(), PlayMode(), Phoenix::BeforeKickOff::setup(), and Phoenix::PlayOn::setup().