A single unit type that the player may recruit.
This class represents a single unit of a specific type.
static std::string unit_level_tooltip(const int level, const std::vector< std::string > &adv_to_types, const std::vector< config > &adv_to_mods)
bool will_certainly_advance(const unit_map::iterator &u)
Encapsulates the logic for deciding whether an iterator u points to a unit that can advance.
std::string resistance_color(const int resistance)
Maps resistance <= -60 (resistance value <= -60%) to intense red.
int number_of_possible_advances(const unit &u)
Determines the total number of available advancements (of any kind) for a given unit.