Phoenix2D-Library
0.10
|
PlayOn
The PlayOn lorem Ipsum
More...
#include <PlayOn.h>
Public Member Functions | |
PlayOn (Commands *commands, Actions *actions) | |
~PlayOn () | |
void | setup (WorldModel world) |
void | onPlayerExecute (WorldModel world) |
void | onGoalieExecute (WorldModel world) |
void | onCoachExecute (WorldModel world) |
void | onMessageReceived (std::string message, int sender) |
Public Member Functions inherited from Phoenix::PlayMode | |
PlayMode (Commands *commands) | |
virtual | ~PlayMode () |
void | onStart () |
void | onPreExecute () |
void | onPostExecute () |
void | onEnd () |
Private Attributes | |
Actions * | actions |
Additional Inherited Members | |
Protected Attributes inherited from Phoenix::PlayMode | |
Commands * | commands |
Definition at line 36 of file PlayOn.cpp.
References actions.
Phoenix::PlayOn::~PlayOn | ( | ) |
Definition at line 40 of file PlayOn.cpp.
|
virtual |
Implements Phoenix::PlayMode.
Definition at line 108 of file PlayOn.cpp.
|
virtual |
Implements Phoenix::PlayMode.
Definition at line 104 of file PlayOn.cpp.
|
virtual |
Implements Phoenix::PlayMode.
Definition at line 112 of file PlayOn.cpp.
|
virtual |
Implements Phoenix::PlayMode.
Definition at line 85 of file PlayOn.cpp.
References actions, Phoenix::Game::GAME_TIME, Phoenix::WorldModel::getPlayers(), Phoenix::Self::getPosition(), Phoenix::Actions::goTo(), Phoenix::Config::LOGGING, Phoenix::move, Phoenix::players, Phoenix::positions(), and Phoenix::Position::toString().
|
virtual |
Implements Phoenix::PlayMode.
Definition at line 44 of file PlayOn.cpp.
References Phoenix::Commands::changeView(), Phoenix::PlayMode::commands, Phoenix::Game::GAME_TIME, Phoenix::WorldModel::getPlayers(), Phoenix::Self::getPosition(), Phoenix::Config::LOGGING, Phoenix::move, Phoenix::players, Phoenix::positions(), Phoenix::Self::TEAM_NAME, Phoenix::Position::toString(), and Phoenix::Self::UNIFORM_NUMBER.
|
private |
Definition at line 45 of file PlayOn.h.
Referenced by onPlayerExecute(), and PlayOn().