Phoenix2D-Library  0.10
Namespaces | Functions | Variables
Game.cpp File Reference
#include <iostream>
#include <pthread.h>
#include <boost/regex.hpp>
#include "Self.h"
#include "Game.h"
#include "Config.h"
Include dependency graph for Game.cpp:

Go to the source code of this file.

Namespaces

 Phoenix
 

Functions

boost::regex Phoenix::goal_regex ("goal_(l|r)_(\\d+)")
 

Variables

std::string Phoenix::play_modes = "before_kick_off corner_kick_l corner_kick_r free_kick_l free_kick_r goal_kick_l goal_kick_r kick_in_l kick_in_r kick_off_l kick_off_r play_on"
 
std::string Phoenix::events = "drop_ball goal_l goal_r offside_l offside_r"
 
static bool Phoenix::cycle_flag = false
 
static bool Phoenix::on_game = true
 
static pthread_cond_t Phoenix::cycle_cond = PTHREAD_COND_INITIALIZER
 
static pthread_mutex_t Phoenix::cycle_mutex = PTHREAD_MUTEX_INITIALIZER