#include <goal.hpp>


Public Member Functions | |
| target_location_goal (readonly_context &context, const config &cfg) | |
| virtual void | add_targets (std::back_insert_iterator< std::vector< target > > target_list) |
| virtual void | on_create () |
Private Member Functions | |
| double | value () const |
Private Attributes | |
| boost::shared_ptr< terrain_filter > | filter_ptr_ |
| double | value_ |
Definition at line 98 of file goal.hpp.
| ai::target_location_goal::target_location_goal | ( | readonly_context & | context, | |
| const config & | cfg | |||
| ) |
| void ai::target_location_goal::add_targets | ( | std::back_insert_iterator< std::vector< target > > | target_list | ) | [virtual] |
Reimplemented from ai::goal.
Definition at line 166 of file goal.cpp.
References ai::goal::active(), ai::target::EXPLICIT, filter_ptr_, LOG_AI_GOAL, and value().

| void ai::target_location_goal::on_create | ( | ) | [virtual] |
Reimplemented from ai::goal.
Definition at line 149 of file goal.cpp.
References ai::goal::cfg_, config::child(), ERR_AI_GOAL, filter_ptr_, config::has_attribute(), lexical_cast(), resources::units, and value_.

| double ai::target_location_goal::value | ( | ) | const [inline, private] |
Definition at line 109 of file goal.hpp.
References value_.
Referenced by add_targets().

boost::shared_ptr<terrain_filter> ai::target_location_goal::filter_ptr_ [private] |
Definition at line 113 of file goal.hpp.
Referenced by add_targets(), and on_create().
double ai::target_location_goal::value_ [private] |
Definition at line 114 of file goal.hpp.
Referenced by on_create(), and value().
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:18:28 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |