Public Types | Public Member Functions | Private Attributes

attack_type_callable Class Reference

#include <callable_objects.hpp>

Inheritance diagram for attack_type_callable:
Inheritance graph
[legend]
Collaboration diagram for attack_type_callable:
Collaboration graph
[legend]

List of all members.

Public Types

typedef map_location location

Public Member Functions

 attack_type_callable (const attack_type &attack)
const attack_typeget_attack_type () const
variant get_value (const std::string &key) const
void get_inputs (std::vector< game_logic::formula_input > *inputs) const
int do_compare (const formula_callable *callable) const

Private Attributes

const attack_type att_

Detailed Description

Definition at line 125 of file callable_objects.hpp.


Member Typedef Documentation

Definition at line 127 of file callable_objects.hpp.


Constructor & Destructor Documentation

attack_type_callable::attack_type_callable ( const attack_type attack  )  [inline]

Definition at line 128 of file callable_objects.hpp.

References game_logic::formula_callable::type_.


Member Function Documentation

int attack_type_callable::do_compare ( const formula_callable *  callable  )  const
const attack_type& attack_type_callable::get_attack_type (  )  const [inline]

Definition at line 134 of file callable_objects.hpp.

References att_.

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

Reimplemented from game_logic::formula_callable.

Definition at line 107 of file callable_objects.cpp.

References game_logic::FORMULA_READ_ONLY.

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

Member Data Documentation

Definition at line 140 of file callable_objects.hpp.

Referenced by do_compare(), get_attack_type(), and 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:13:09 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs