Public Member Functions | Private Attributes

ai::default_ai_context_proxy Class Reference

#include <contexts.hpp>

Inheritance diagram for ai::default_ai_context_proxy:
Inheritance graph
[legend]
Collaboration diagram for ai::default_ai_context_proxy:
Collaboration graph
[legend]

List of all members.

Public Member Functions

int count_free_hexes_in_castle (const map_location &loc, std::set< map_location > &checked_hexes)
 default_ai_context_proxy ()
virtual ~default_ai_context_proxy ()
virtual const std::vector
< target > & 
additional_targets () const
virtual void add_target (const target &t) const
virtual void clear_additional_targets () const
virtual default_ai_contextget_default_ai_context ()
virtual std::vector< targetfind_targets (const move_map &enemy_dstsrc)
void init_default_ai_context_proxy (default_ai_context &target)
virtual int rate_terrain (const unit &u, const map_location &loc) const
virtual config to_default_ai_context_config () const

Private Attributes

default_ai_contexttarget_

Detailed Description

Definition at line 176 of file contexts.hpp.


Constructor & Destructor Documentation

ai::default_ai_context_proxy::default_ai_context_proxy (  )  [inline]

Definition at line 185 of file contexts.hpp.

ai::default_ai_context_proxy::~default_ai_context_proxy (  )  [virtual]

Definition at line 55 of file contexts.cpp.


Member Function Documentation

virtual void ai::default_ai_context_proxy::add_target ( const target t  )  const [inline, virtual]

Definition at line 200 of file contexts.hpp.

References ai::default_ai_context::add_target(), and target_.

Here is the call graph for this function:

virtual const std::vector<target>& ai::default_ai_context_proxy::additional_targets (  )  const [inline, virtual]

Definition at line 194 of file contexts.hpp.

References ai::default_ai_context::additional_targets(), and target_.

Referenced by ai::testing_ai_default::testing_move_to_targets_phase::execute().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual void ai::default_ai_context_proxy::clear_additional_targets (  )  const [inline, virtual]

Definition at line 206 of file contexts.hpp.

References ai::default_ai_context::clear_additional_targets(), and target_.

Here is the call graph for this function:

int ai::default_ai_context_proxy::count_free_hexes_in_castle ( const map_location loc,
std::set< map_location > &  checked_hexes 
) [inline]

Definition at line 179 of file contexts.hpp.

References ai::default_ai_context::count_free_hexes_in_castle(), and target_.

Referenced by ai::testing_ai_default::testing_recruitment_phase::evaluate(), and ai::testing_ai_default::recruitment_phase::evaluate().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual std::vector<target> ai::default_ai_context_proxy::find_targets ( const move_map enemy_dstsrc  )  [inline, virtual]

Definition at line 218 of file contexts.hpp.

References ai::default_ai_context::find_targets(), and target_.

Referenced by ai::ai_default_recruitment_stage::analyze_potential_recruit_movements(), and ai::testing_ai_default::testing_move_to_targets_phase::execute().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual default_ai_context& ai::default_ai_context_proxy::get_default_ai_context (  )  [inline, virtual]

Definition at line 212 of file contexts.hpp.

References ai::default_ai_context::get_default_ai_context(), and target_.

Here is the call graph for this function:

void ai::default_ai_context_proxy::init_default_ai_context_proxy ( default_ai_context target  ) 

Definition at line 59 of file contexts.cpp.

References ai::default_ai_context::get_default_ai_context(), ai::readwrite_context_proxy::init_readwrite_context_proxy(), and target_.

Referenced by ai::ai_context_proxy::init_ai_context_proxy().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual int ai::default_ai_context_proxy::rate_terrain ( const unit u,
const map_location loc 
) const [inline, virtual]

Definition at line 227 of file contexts.hpp.

References ai::default_ai_context::rate_terrain(), and target_.

Here is the call graph for this function:

virtual config ai::default_ai_context_proxy::to_default_ai_context_config (  )  const [inline, virtual]

Definition at line 233 of file contexts.hpp.

References target_, and ai::default_ai_context::to_default_ai_context_config().

Here is the call graph for this function:


Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Thu May 24 2012 01:18:57 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs