The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Attributes | List of all members
ai::default_recruitment::recruitment::recruit_situation_change_observer Class Reference
Inheritance diagram for ai::default_recruitment::recruitment::recruit_situation_change_observer:
Inheritance graph

Public Member Functions

 recruit_situation_change_observer ()
 Observer Code. More...
 
 ~recruit_situation_change_observer ()
 
void handle_generic_event (const std::string &event)
 
bool recruit_list_changed ()
 
void set_recruit_list_changed (bool changed)
 
int gamestate_changed ()
 
void reset_gamestate_changed ()
 
- Public Member Functions inherited from events::observer
virtual ~observer ()
 

Private Attributes

bool recruit_list_changed_
 
int gamestate_changed_
 

Detailed Description

Definition at line 256 of file recruitment.hpp.

Constructor & Destructor Documentation

ai::default_recruitment::recruitment::recruit_situation_change_observer::recruit_situation_change_observer ( )
ai::default_recruitment::recruitment::recruit_situation_change_observer::~recruit_situation_change_observer ( )

Member Function Documentation

int ai::default_recruitment::recruitment::recruit_situation_change_observer::gamestate_changed ( )

Definition at line 1772 of file recruitment.cpp.

Referenced by ai::default_recruitment::recruitment::execute().

void ai::default_recruitment::recruitment::recruit_situation_change_observer::handle_generic_event ( const std::string event)
virtual

Implements events::observer.

Definition at line 1749 of file recruitment.cpp.

References LOG_AI_RECRUITMENT.

bool ai::default_recruitment::recruitment::recruit_situation_change_observer::recruit_list_changed ( )
void ai::default_recruitment::recruitment::recruit_situation_change_observer::reset_gamestate_changed ( )

Definition at line 1776 of file recruitment.cpp.

Referenced by ai::default_recruitment::recruitment::execute().

void ai::default_recruitment::recruitment::recruit_situation_change_observer::set_recruit_list_changed ( bool  changed)

Definition at line 1768 of file recruitment.cpp.

Referenced by ai::default_recruitment::recruitment::evaluate().

Member Data Documentation

int ai::default_recruitment::recruitment::recruit_situation_change_observer::gamestate_changed_
private

Definition at line 270 of file recruitment.hpp.

bool ai::default_recruitment::recruitment::recruit_situation_change_observer::recruit_list_changed_
private

Definition at line 269 of file recruitment.hpp.


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