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

ogs::creatures::humanoids::Halfling Class Reference

A creature much like a human but about half the size. More...

#include <Halfling.h>

Inheritance diagram for ogs::creatures::humanoids::Halfling:

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

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

Halfings are typically found in fantasy campaign settings.


Member Function Documentation

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

The adult age for halflings is 20 years.

Returns:
20 years

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

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

The die used to roll maximum ages for halflings is 5d20.

Returns:
5d20

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

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

The middle age for halflings is 50 years.

Returns:
50 years

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

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

The old age for halflings is 75 years.

Returns:
75 years

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

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

The venerable age for halflings is 100 years.

Returns:
100 years

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


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