Phoenix2D-Library
0.10
|
Trainer
The Trainer lorem Ipsum
More...
#include <Trainer.h>
Public Member Functions | |
Trainer (Commands *commands) | |
~Trainer () | |
void | execute (WorldModel world) |
bool | continueExecution () |
Private Attributes | |
Commands * | commands |
bool | newExecution |
Phoenix::Trainer::Trainer | ( | Commands * | commands | ) |
Definition at line 128 of file Trainer.cpp.
References commands, Phoenix::generateCode(), Phoenix::loadCode(), and newExecution.
Phoenix::Trainer::~Trainer | ( | ) |
Definition at line 140 of file Trainer.cpp.
bool Phoenix::Trainer::continueExecution | ( | ) |
Definition at line 192 of file Trainer.cpp.
References newExecution.
void Phoenix::Trainer::execute | ( | WorldModel | world | ) |
Definition at line 144 of file Trainer.cpp.
References Phoenix::execution_line::accum, Phoenix::execution_line::arg, Phoenix::CHANGE_TO, Phoenix::Commands::changeMode(), Phoenix::execution_line::command, commands, Phoenix::DO, Phoenix::END, Phoenix::END_DO, Phoenix::Game::GAME_TIME, Phoenix::WorldModel::getPlayers(), Phoenix::execution_line::jump_to, newExecution, Phoenix::Game::PLAY_MODE, Phoenix::players, Phoenix::program, Phoenix::Commands::recover(), Phoenix::RECOVER, Phoenix::Commands::say(), Phoenix::SAY, Phoenix::Commands::sendCommands(), Phoenix::START, and Phoenix::Config::TRAINER_LOGGING.
|
private |
|
private |
Definition at line 41 of file Trainer.h.
Referenced by continueExecution(), execute(), and Trainer().