Support functions for dealing with units. More...
#include "resources.hpp"#include "unit.hpp"#include "unit_helper.hpp"
Go to the source code of this file.
Namespaces | |
| namespace | unit_helper |
Functions | |
| int | unit_helper::number_of_possible_advances (const unit &unit) |
| Determines the total number of available advancements (of any kind) for a given unit. | |
| bool | unit_helper::will_certainly_advance (const unit_map::iterator &u) |
| Encapsulates the logic for deciding whether an iterator u points to a unit that can advance. | |
Support functions for dealing with units.
Definition in file unit_helper.cpp.
| Generated by doxygen 1.7.1 on Fri May 25 2012 01:11:01 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |