#include <actions.hpp>


Public Types | |
| enum | tresult { E_NO_UNIT = 4002, E_NOT_OWN_UNIT = 4003, E_INCAPACITATED_UNIT = 4004 } |
Public Member Functions | |
| stopunit_result (side_number side, const map_location &unit_location, bool remove_movement, bool remove_attacks) | |
| virtual std::string | do_describe () const |
Protected Member Functions | |
| virtual void | do_check_before () |
| virtual void | do_check_after () |
| virtual void | do_execute () |
| virtual void | do_init_for_execution () |
Private Member Functions | |
| const unit * | get_unit () |
Private Attributes | |
| const map_location & | unit_location_ |
| const bool | remove_movement_ |
| const bool | remove_attacks_ |
Definition at line 273 of file actions.hpp.
Reimplemented from ai::action_result.
Definition at line 280 of file actions.hpp.
| ai::stopunit_result::stopunit_result | ( | side_number | side, | |
| const map_location & | unit_location, | |||
| bool | remove_movement, | |||
| bool | remove_attacks | |||
| ) |
Definition at line 912 of file actions.cpp.
| void ai::stopunit_result::do_check_after | ( | ) | [protected, virtual] |
Implements ai::action_result.
Definition at line 947 of file actions.cpp.
| void ai::stopunit_result::do_check_before | ( | ) | [protected, virtual] |
Implements ai::action_result.
Definition at line 936 of file actions.cpp.
| std::string ai::stopunit_result::do_describe | ( | ) | const [virtual] |
Implements ai::action_result.
Definition at line 964 of file actions.cpp.
Referenced by operator<<().

| void ai::stopunit_result::do_execute | ( | ) | [protected, virtual] |
Implements ai::action_result.
Definition at line 983 of file actions.cpp.
| void ai::stopunit_result::do_init_for_execution | ( | ) | [protected, virtual] |
Implements ai::action_result.
Definition at line 1006 of file actions.cpp.
| const unit * ai::stopunit_result::get_unit | ( | ) | [private] |
Definition at line 917 of file actions.cpp.
const bool ai::stopunit_result::remove_attacks_ [private] |
Definition at line 296 of file actions.hpp.
const bool ai::stopunit_result::remove_movement_ [private] |
Definition at line 295 of file actions.hpp.
const map_location& ai::stopunit_result::unit_location_ [private] |
Definition at line 294 of file actions.hpp.
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:18:20 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |