#include <Abilities.h>
Inheritance diagram for ogs::core::PartialMethod:
Public Types | |
typedef Abilities::ScoreMap::value_type | Value |
A pair of ability type and ability score. | |
Public Member Functions | |
template<class _InputIterator> | PartialMethod (_InputIterator first, _InputIterator last) |
Create a new partial method. | |
bool | hasAbility (Ability::Type type) |
Determine if this method provides a score for an ability type. | |
Ability::Score | operator() (Ability::Type type) |
Determine the score for an ability type. |
|
A partial method is created from a sequence of pairs of ability types and ability scores. The iterators point to the first and just past the last element of this sequence. The sequence may describe a partial set of ability scores: all six ability pairs need not be present.
|
|
|
|
Implements ogs::core::Method. |