#include <callable_objects.hpp>
Public Member Functions | |
move_callable (const gamemap::location &src, const gamemap::location &dst) | |
const gamemap::location & | src () const |
const gamemap::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 |
Private Attributes | |
gamemap::location | src_ |
gamemap::location | dst_ |
Definition at line 100 of file callable_objects.hpp.
move_callable::move_callable | ( | const gamemap::location & | src, | |
const gamemap::location & | dst | |||
) | [inline] |
Definition at line 116 of file callable_objects.hpp.
variant move_callable::get_value | ( | const std::string & | key | ) | const [inline, private, virtual] |
void move_callable::get_inputs | ( | std::vector< game_logic::formula_input > * | inputs | ) | const [inline, private, virtual] |
Reimplemented from game_logic::formula_callable.
Definition at line 111 of file callable_objects.hpp.
References game_logic::FORMULA_READ_ONLY.
const gamemap::location& move_callable::src | ( | ) | const [inline] |
Definition at line 120 of file callable_objects.hpp.
References src_.
Referenced by formula_ai::execute_variant().
const gamemap::location& move_callable::dst | ( | ) | const [inline] |
Definition at line 121 of file callable_objects.hpp.
References dst_.
Referenced by formula_ai::execute_variant().
gamemap::location move_callable::src_ [private] |
gamemap::location move_callable::dst_ [private] |
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |