terrain_callable Class Reference

#include <callable_objects.hpp>

Inheritance diagram for terrain_callable:

Inheritance graph
[legend]
Collaboration diagram for terrain_callable:

Collaboration graph
[legend]

List of all members.

Public Types

typedef gamemap::location location

Public Member Functions

 terrain_callable (const terrain_type &t, const location loc)
variant get_value (const std::string &key) const
void get_inputs (std::vector< game_logic::formula_input > *inputs) const

Private Attributes

const location loc_
const terrain_typet_


Detailed Description

Definition at line 48 of file callable_objects.hpp.


Member Typedef Documentation

Definition at line 50 of file callable_objects.hpp.


Constructor & Destructor Documentation

terrain_callable::terrain_callable ( const terrain_type t,
const location  loc 
) [inline]

Definition at line 51 of file callable_objects.hpp.


Member Function Documentation

variant terrain_callable::get_value ( const std::string &  key  )  const [virtual]

void terrain_callable::get_inputs ( std::vector< game_logic::formula_input > *  inputs  )  const [virtual]

Reimplemented from game_logic::formula_callable.

Definition at line 154 of file callable_objects.cpp.

References game_logic::FORMULA_READ_ONLY.


Member Data Documentation

Definition at line 58 of file callable_objects.hpp.

Referenced by get_value().

Definition at line 59 of file callable_objects.hpp.

Referenced by get_value().


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

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