

Public Member Functions | |
| lua_stage_wrapper (ai_context &context, const config &cfg, lua_ai_context &lua_ai_ctx) | |
| virtual | ~lua_stage_wrapper () |
| virtual bool | do_play_stage () |
| Play the turn - implementation. | |
| virtual config | to_config () const |
| serialize | |
Private Attributes | |
| boost::shared_ptr < lua_ai_action_handler > | action_handler_ |
| std::string | code_ |
| config | serialized_evaluation_state_ |
Definition at line 131 of file engine_lua.cpp.
| ai::lua_stage_wrapper::lua_stage_wrapper | ( | ai_context & | context, | |
| const config & | cfg, | |||
| lua_ai_context & | lua_ai_ctx | |||
| ) | [inline] |
Definition at line 133 of file engine_lua.cpp.
References ai::candidate_action::disable(), and ai::lua_sticky_candidate_action_wrapper::execute().

| virtual ai::lua_stage_wrapper::~lua_stage_wrapper | ( | ) | [inline, virtual] |
Definition at line 139 of file engine_lua.cpp.
| virtual bool ai::lua_stage_wrapper::do_play_stage | ( | ) | [inline, virtual] |
Play the turn - implementation.
Implements ai::stage.
Definition at line 143 of file engine_lua.cpp.
References action_handler_, code_, LuaKernel::create_lua_ai_action_handler(), and resources::lua_kernel.

| virtual config ai::lua_stage_wrapper::to_config | ( | ) | const [inline, virtual] |
serialize
Reimplemented from ai::stage.
Definition at line 155 of file engine_lua.cpp.
References action_handler_, and serialized_evaluation_state_.
boost::shared_ptr<lua_ai_action_handler> ai::lua_stage_wrapper::action_handler_ [private] |
Definition at line 163 of file engine_lua.cpp.
Referenced by do_play_stage(), and to_config().
std::string ai::lua_stage_wrapper::code_ [private] |
Definition at line 164 of file engine_lua.cpp.
Referenced by do_play_stage().
Definition at line 165 of file engine_lua.cpp.
Referenced by to_config().
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:18:26 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |