#include <callable_objects.hpp>


Public Member Functions | |
| move_callable (const map_location &src, const map_location &dst) | |
| const map_location & | src () const |
| const map_location & | dst () const |
Private Member Functions | |
| variant | get_value (const std::string &key) const |
| void | get_inputs (std::vector< game_logic::formula_input > *inputs) const |
| int | do_compare (const formula_callable *callable) const |
Private Attributes | |
| map_location | src_ |
| map_location | dst_ |
Definition at line 72 of file callable_objects.hpp.
| game_logic::move_callable::move_callable | ( | const map_location & | src, | |
| const map_location & | dst | |||
| ) | [inline] |
Definition at line 90 of file callable_objects.hpp.
References game_logic::formula_callable::type_.
| int game_logic::move_callable::do_compare | ( | const formula_callable * | callable | ) | const [private, virtual] |
Reimplemented from game_logic::formula_callable.
Definition at line 49 of file callable_objects.cpp.
References map_location::do_compare(), dst_, and src_.

| const map_location& game_logic::move_callable::dst | ( | ) | const [inline] |
Definition at line 97 of file callable_objects.hpp.
References dst_.
Referenced by ai::formula_ai::execute_variant().

| void game_logic::move_callable::get_inputs | ( | std::vector< game_logic::formula_input > * | inputs | ) | const [inline, private, virtual] |
Reimplemented from game_logic::formula_callable.
Definition at line 83 of file callable_objects.hpp.
References game_logic::FORMULA_READ_ONLY.
| variant game_logic::move_callable::get_value | ( | const std::string & | key | ) | const [inline, private, virtual] |
Implements game_logic::formula_callable.
Definition at line 74 of file callable_objects.hpp.
| const map_location& game_logic::move_callable::src | ( | ) | const [inline] |
Definition at line 96 of file callable_objects.hpp.
References src_.
Referenced by ai::formula_ai::execute_variant().

map_location game_logic::move_callable::dst_ [private] |
Definition at line 73 of file callable_objects.hpp.
Referenced by do_compare(), dst(), and get_value().
map_location game_logic::move_callable::src_ [private] |
Definition at line 73 of file callable_objects.hpp.
Referenced by do_compare(), get_value(), and src().
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:20:48 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |