#include <unit.hpp>
Public Member Functions | |
bool | empty () const |
std::pair< int, gamemap::location > | highest (const std::string &key, int def=0) const |
std::pair< int, gamemap::location > | lowest (const std::string &key, int def=100) const |
Public Attributes | |
std::vector< std::pair< config *, gamemap::location > > | cfgs |
Definition at line 37 of file unit.hpp.
bool unit_ability_list::empty | ( | ) | const |
Definition at line 417 of file unit_abilities.cpp.
References cfgs.
Referenced by reports::generate_report(), unit::resistance_against(), and battle_context::unit_stats::unit_stats().
std::pair< int, gamemap::location > unit_ability_list::highest | ( | const std::string & | key, | |
int | def = 0 | |||
) | const |
Definition at line 422 of file unit_abilities.cpp.
References cfgs, gamemap::location::null_location, utils::string_bool(), text, and value.
Referenced by reports::generate_report(), unit::resistance_against(), timeofday_at(), under_leadership(), and battle_context::unit_stats::unit_stats().
std::pair< int, gamemap::location > unit_ability_list::lowest | ( | const std::string & | key, | |
int | def = 100 | |||
) | const |
Definition at line 452 of file unit_abilities.cpp.
References cfgs, gamemap::location::null_location, utils::string_bool(), text, and value.
std::vector<std::pair<config*,gamemap::location> > unit_ability_list::cfgs |
Definition at line 46 of file unit.hpp.
Referenced by calculate_healing(), unit_abilities::effect::effect(), empty(), unit::get_abilities(), attack_type::get_specials(), highest(), lowest(), move_unit(), unit::resistance_against(), and battle_context::unit_stats::unit_stats().
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |