The Battle for Wesnoth  1.13.10+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 89 of file recruitment.hpp.

Constructor & Destructor Documentation

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

Definition at line 93 of file recruitment.hpp.

Member Function Documentation

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

Definition at line 96 of file recruitment.hpp.

References value.

Member Data Documentation

double ai::default_recruitment::cached_combat_value::a_defense

Definition at line 90 of file recruitment.hpp.

double ai::default_recruitment::cached_combat_value::b_defense

Definition at line 91 of file recruitment.hpp.

double ai::default_recruitment::cached_combat_value::value

Definition at line 92 of file recruitment.hpp.

Referenced by operator<().

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