#include <callable_objects.hpp>


Classes | |
| struct | move_map_backup |
Public Member Functions | |
| position_callable (int chance) | |
Private Member Functions | |
| variant | get_value (const std::string &key) const |
| void | get_inputs (std::vector< game_logic::formula_input > *inputs) const |
Private Attributes | |
| int | chance_ |
Definition at line 267 of file callable_objects.hpp.
| game_logic::position_callable::position_callable | ( | int | chance | ) | [inline] |
Definition at line 274 of file callable_objects.hpp.
| void game_logic::position_callable::get_inputs | ( | std::vector< game_logic::formula_input > * | inputs | ) | const [private, virtual] |
Reimplemented from game_logic::formula_callable.
Definition at line 91 of file callable_objects.cpp.
References game_logic::FORMULA_READ_ONLY.
| variant game_logic::position_callable::get_value | ( | const std::string & | key | ) | const [private, virtual] |
Implements game_logic::formula_callable.
Definition at line 83 of file callable_objects.cpp.
References chance_.
int game_logic::position_callable::chance_ [private] |
Definition at line 269 of file callable_objects.hpp.
Referenced by get_value().
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:20:49 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |