The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
ai::default_recruitment::cached_combat_value Struct Reference

#include <recruitment.hpp>

Public Member Functions

 cached_combat_value (double a_def, double b_def, double v)
 
bool operator< (const cached_combat_value &o) const
 

Public Attributes

double a_defense
 
double b_defense
 
double value
 

Detailed Description

Definition at line 104 of file recruitment.hpp.

Constructor & Destructor Documentation

ai::default_recruitment::cached_combat_value::cached_combat_value ( double  a_def,
double  b_def,
double  v 
)
inline

Definition at line 108 of file recruitment.hpp.

Member Function Documentation

bool ai::default_recruitment::cached_combat_value::operator< ( const cached_combat_value o) const
inline

Definition at line 111 of file recruitment.hpp.

References value.

Member Data Documentation

double ai::default_recruitment::cached_combat_value::a_defense

Definition at line 105 of file recruitment.hpp.

double ai::default_recruitment::cached_combat_value::b_defense

Definition at line 106 of file recruitment.hpp.

double ai::default_recruitment::cached_combat_value::value

Definition at line 107 of file recruitment.hpp.

Referenced by operator<().


The documentation for this struct was generated from the following file: