#include <ai.hpp>

Public Member Functions | |
| gamestate_change_observer () | |
| ~gamestate_change_observer () | |
| void | handle_generic_event (const std::string &) |
| bool | set_var_check () |
| bool | set_unit_var_check () |
| bool | continue_check () |
Public Member Functions inherited from events::observer | |
| virtual | ~observer () |
Private Attributes | |
| int | set_var_counter_ |
| int | set_unit_var_counter_ |
| int | continue_counter_ |
Static Private Attributes | |
| static const int | MAX_CALLS = 1000 |
| ai::formula_ai::gamestate_change_observer::gamestate_change_observer | ( | ) |
Definition at line 989 of file ai.cpp.
References ai::manager::add_gamestate_observer().
| ai::formula_ai::gamestate_change_observer::~gamestate_change_observer | ( | ) |
Definition at line 995 of file ai.cpp.
References ai::manager::remove_gamestate_observer().
| bool ai::formula_ai::gamestate_change_observer::continue_check | ( | ) |
Definition at line 1022 of file ai.cpp.
Referenced by ai::formula_ai::execute_variant().
|
virtual |
Implements events::observer.
| bool ai::formula_ai::gamestate_change_observer::set_unit_var_check | ( | ) |
Definition at line 1014 of file ai.cpp.
Referenced by ai::formula_ai::execute_variant().
| bool ai::formula_ai::gamestate_change_observer::set_var_check | ( | ) |
Definition at line 1006 of file ai.cpp.
Referenced by ai::formula_ai::execute_variant().
|
private |
|
staticprivate |
|
private |
|
private |
1.8.8