Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

ogs::creatures::humanoids::HalfElf Class Reference

A progeny of a human and an elf. More...

#include <HalfElf.h>

Inheritance diagram for ogs::creatures::humanoids::HalfElf:

Inheritance graph
[legend]
Collaboration diagram for ogs::creatures::humanoids::HalfElf:

Collaboration graph
[legend]
List of all members.

Public Member Functions

unsigned getAdultAge () const
 Determine the average adult age for this type of creature.

unsigned getMiddleAge () const
 Determine the average middle age for this type of creature.

unsigned getOldAge () const
 Determine the average old age for this type of creature.

unsigned getVenerableAge () const
 Determine the average venerable age for this type of creature.

const Die & getMaximumAge () const
 Access the die used to roll a random maximum age for a PC.


Detailed Description

Half-elves typically exist in fantasy campaign settings.


Member Function Documentation

unsigned ogs::creatures::humanoids::HalfElf::getAdultAge  )  const [inline, virtual]
 

The adult age for half-elves is 20 years.

Returns:
20 years

Implements ogs::core::details::Maturity.

const Die & ogs::creatures::humanoids::HalfElf::getMaximumAge  )  const [inline, virtual]
 

The die used to roll maximum ages for half-elves is 3d20.

Returns:
3d20

Implements ogs::core::details::Maturity.

unsigned ogs::creatures::humanoids::HalfElf::getMiddleAge  )  const [inline, virtual]
 

The middle age for half-elves is 62 years.

Returns:
62 years

Implements ogs::core::details::Maturity.

unsigned ogs::creatures::humanoids::HalfElf::getOldAge  )  const [inline, virtual]
 

The old age for half-elves is 93 years.

Returns:
93 years

Implements ogs::core::details::Maturity.

unsigned ogs::creatures::humanoids::HalfElf::getVenerableAge  )  const [inline, virtual]
 

The venerable age for half-elves is 125 years.

Returns:
125 years

Implements ogs::core::details::Maturity.


The documentation for this class was generated from the following file:
Generated on Sun Apr 20 03:39:05 2003 for Open Gaming System (OGS) by doxygen1.3