|
OGS Java API Spec | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ogs.core.Abilities
A set of ability scores. A set of ability scores normally consists of one score for each ability. Some entities however may not possess all six abilities. Certain creatures for example may lack Intelligence, Constitution, Strength, or some other ability by their very nature.
Constructor Summary | |
Abilities()
Create a new set of ability scores. |
|
Abilities(Ability.Method method)
Create a new set of ability scores using a method. |
Method Summary | |
boolean |
canRerollAverage()
Determine if this set of abilities can be rerolled using the average method. |
boolean |
canRerollHighPowered()
Determine if this set of abilities can be rerolled using the high-powered method. |
boolean |
canRerollStandard()
Determine if this set of abilities can be rerolled using the standard method. |
Ability |
getAbility(int abilityType)
Determine the ability for a given type. |
Iterator |
getIterator()
Determine the iterator for this set of abilities. |
boolean |
isComplete()
Determine if this set is a complete set of abilities. |
void |
removeAbility(int abilityType)
Remove an ability from this set of abilities. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Abilities()
public Abilities(Ability.Method method)
method
- A method for generating ability scores.Method Detail |
public Iterator getIterator()
public Ability getAbility(int abilityType)
abilityType
- Type of ability.
public void removeAbility(int abilityType)
abilityType
- Type of ability to be removed.public boolean isComplete()
public boolean canRerollStandard()
public boolean canRerollAverage()
public boolean canRerollHighPowered()
|
OGS Java API Spec | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |