28 : gamestate_change_counter_(0)
int gamestate_change_counter_
bool is_gamestate_changed()
Check if the gamestate has changed since last reset reset is done once on construction, and can be done by hand via reset() method.
void handle_generic_event(const std::string &event_name)
A helper class to observe the game state.
A small explanation about what's going on here: Each action has access to two game_info objects First...
static void remove_gamestate_observer(events::observer *event_observer)
Removes an observer of game events except ai_user_interact event and ai_sync_network event...
void reset()
Reset the counter of gamestate changes.
Managing the AIs lifecycle - headers.
static void add_gamestate_observer(events::observer *event_observer)
Adds observer of game events except ai_user_interact event and ai_sync_network event.
virtual ~gamestate_observer()
GLsizei const GLcharARB ** string