Phoenix2D-Library  0.10
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
Phoenix::Game Class Reference

Game
The Game lorem Ipsum More...

#include <Game.h>

Collaboration diagram for Phoenix::Game:
Collaboration graph
[legend]

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"
 

Detailed Description

Game
The Game lorem Ipsum

Definition at line 36 of file Game.h.

Constructor & Destructor Documentation

Phoenix::Game::Game ( )

Definition at line 43 of file Game.cpp.

Phoenix::Game::~Game ( )

Definition at line 47 of file Game.cpp.

References Phoenix::Config::VERBOSE.

Member Function Documentation

bool Phoenix::Game::nextCycle ( )
static
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().

Here is the call graph for this function:

void Phoenix::Game::updateTime ( int  game_time)

Member Data Documentation

unsigned int Phoenix::Game::GAME_TIME = 0
static
unsigned int Phoenix::Game::GOALS = 0
static

Definition at line 40 of file Game.h.

Referenced by updatePlayMode().

unsigned int Phoenix::Game::GOALS_AGAINST = 0
static

Definition at line 41 of file Game.h.

Referenced by updatePlayMode().

std::string Phoenix::Game::PLAY_MODE = "before_kick_off"
static

Definition at line 42 of file Game.h.

Referenced by Phoenix::Trainer::execute(), and updatePlayMode().

unsigned int Phoenix::Game::SIMULATION_TIME = 0
static

The documentation for this class was generated from the following files: