Phoenix2D-Library
0.10
|
Game
The Game lorem Ipsum
More...
#include <Game.h>
Public Member Functions | |
Game () | |
~Game () | |
void | updateTime (int game_time) |
void | updatePlayMode (std::string play_mode) |
Static Public Member Functions | |
static bool | nextCycle () |
Static Public Attributes | |
static unsigned int | SIMULATION_TIME = 0 |
static unsigned int | GAME_TIME = 0 |
static unsigned int | GOALS = 0 |
static unsigned int | GOALS_AGAINST = 0 |
static std::string | PLAY_MODE = "before_kick_off" |
Phoenix::Game::~Game | ( | ) |
Definition at line 47 of file Game.cpp.
References Phoenix::Config::VERBOSE.
|
static |
Definition at line 92 of file Game.cpp.
References Phoenix::cycle_cond, Phoenix::cycle_flag, Phoenix::cycle_mutex, and Phoenix::on_game.
void Phoenix::Game::updatePlayMode | ( | std::string | play_mode | ) |
Definition at line 70 of file Game.cpp.
References Phoenix::events, Phoenix::goal_regex(), GOALS, GOALS_AGAINST, Phoenix::on_game, PLAY_MODE, Phoenix::play_modes, Phoenix::Self::SIDE, and SIMULATION_TIME.
Referenced by Phoenix::Parser::parseMessage().
void Phoenix::Game::updateTime | ( | int | game_time | ) |
Definition at line 51 of file Game.cpp.
References Phoenix::cycle_cond, Phoenix::cycle_flag, Phoenix::cycle_mutex, GAME_TIME, and SIMULATION_TIME.
Referenced by Phoenix::Parser::parseMessage(), and Phoenix::process_sense_body().
|
static |
Definition at line 39 of file Game.h.
Referenced by Phoenix::Trainer::execute(), Phoenix::PlayOn::onPlayerExecute(), Phoenix::PlayOn::setup(), and updateTime().
|
static |
Definition at line 40 of file Game.h.
Referenced by updatePlayMode().
|
static |
Definition at line 41 of file Game.h.
Referenced by updatePlayMode().
|
static |
Definition at line 42 of file Game.h.
Referenced by Phoenix::Trainer::execute(), and updatePlayMode().
|
static |
Definition at line 38 of file Game.h.
Referenced by Phoenix::Command::Command(), Phoenix::Commands::flush(), Phoenix::Parser::parseMessage(), Phoenix::process_see(), updatePlayMode(), and updateTime().