Namespaces | Functions

unit_helper.hpp File Reference

#include "unit_map.hpp"
Include dependency graph for unit_helper.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  unit_helper

Functions

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.
int unit_helper::number_of_possible_advances (const unit &unit)
 Determines the total number of available advancements (of any kind) for a given unit.

Detailed Description

Definition in file unit_helper.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Fri May 25 2012 01:11:01 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs