Classes | Public Member Functions | Private Member Functions | Private Attributes

game_logic::position_callable Class Reference

#include <callable_objects.hpp>

Inheritance diagram for game_logic::position_callable:
Inheritance graph
[legend]
Collaboration diagram for game_logic::position_callable:
Collaboration graph
[legend]

List of all members.

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_

Detailed Description

Definition at line 267 of file callable_objects.hpp.


Constructor & Destructor Documentation

game_logic::position_callable::position_callable ( int  chance  )  [inline]

Definition at line 274 of file callable_objects.hpp.


Member Function Documentation

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_.


Member Data Documentation

Definition at line 269 of file callable_objects.hpp.

Referenced by get_value().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Thu May 24 2012 01:20:49 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs