#include <goal.hpp>


Public Member Functions | |
| lua_goal (readonly_context &context, const config &cfg) | |
| virtual void | add_targets (std::back_insert_iterator< std::vector< target > > target_list) |
| void | on_create (boost::shared_ptr< ai::lua_ai_context >) |
Private Attributes | |
| std::string | code_ |
| boost::shared_ptr < lua_ai_action_handler > | handler_ |
Definition at line 169 of file goal.hpp.
| ai::lua_goal::lua_goal | ( | readonly_context & | context, | |
| const config & | cfg | |||
| ) |
Definition at line 301 of file goal.cpp.
References code_, and config::has_attribute().

| void ai::lua_goal::add_targets | ( | std::back_insert_iterator< std::vector< target > > | target_list | ) | [virtual] |
| void ai::lua_goal::on_create | ( | boost::shared_ptr< ai::lua_ai_context > | l_ctx | ) | [virtual] |
Reimplemented from ai::goal.
Definition at line 315 of file goal.cpp.
References code_, LuaKernel::create_lua_ai_action_handler(), handler_, and resources::lua_kernel.

std::string ai::lua_goal::code_ [private] |
Definition at line 176 of file goal.hpp.
Referenced by lua_goal(), and on_create().
boost::shared_ptr<lua_ai_action_handler> ai::lua_goal::handler_ [private] |
Definition at line 177 of file goal.hpp.
Referenced by add_targets(), and on_create().
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:18:29 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |