move_callable Class Reference

#include <callable_objects.hpp>

Inheritance diagram for move_callable:

Inheritance graph
[legend]
Collaboration diagram for move_callable:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 move_callable (const gamemap::location &src, const gamemap::location &dst)
const gamemap::locationsrc () const
const gamemap::locationdst () 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_


Detailed Description

Definition at line 100 of file callable_objects.hpp.


Constructor & Destructor Documentation

move_callable::move_callable ( const gamemap::location src,
const gamemap::location dst 
) [inline]

Definition at line 116 of file callable_objects.hpp.


Member Function Documentation

variant move_callable::get_value ( const std::string &  key  )  const [inline, private, virtual]

Implements game_logic::formula_callable.

Definition at line 102 of file callable_objects.hpp.

References dst_, and src_.

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().


Member Data Documentation

Definition at line 101 of file callable_objects.hpp.

Referenced by get_value(), and src().

Definition at line 101 of file callable_objects.hpp.

Referenced by dst(), and get_value().


The documentation for this class was generated from the following file:

Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs