|
OGS Java API Spec | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The various stages of life for a creature. The Maturity
class is an interface that determines the longevity or lifespan of a
creature. This class is implemented by Creature
classes
such as Human
that can be used as a player character
(PC) race. It provides players and referees with average age ranges
such as adult, starting, middle, old, venerable, and maximum. Each
of these stages have effects that are applied once a creature reaches
that age. The pure virtual member functions should behave the same
for all instances of a Creature
class (i.e., as static
member functions). All ages are expressed in years by default.
Method Summary | |
int |
getAdultAge()
Determine the average adult age for this type of creature. |
Die |
getMaximumAge()
Access the die used to roll a random maximum age for a PC. |
int |
getMiddleAge()
Determine the average middle age for this type of creature. |
int |
getOldAge()
Determine the average old age for this type of creature. |
int |
getVenerableAge()
Determine the average venerable age for this type of creature. |
Method Detail |
public int getAdultAge()
public int getMiddleAge()
public int getOldAge()
public int getVenerableAge()
public Die getMaximumAge()
|
OGS Java API Spec | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |