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

ogs::creatures::humanoids::Gnome Class Reference

A curious humanoid creature with a propensity for mechanics and pranks. More...

#include <Gnome.h>

Inheritance diagram for ogs::creatures::humanoids::Gnome:

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

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

Gnomes are typically found in fantasy campaign settings.


Member Function Documentation

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

The adult age for gnomes is 40 years.

Returns:
40 years

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

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

The die used to roll maximum ages for gnomes is 3d100.

Returns:
3d100

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

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

The middle age for gnomes is 100 years.

Returns:
100 years

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

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

The old age for gnomes is 150 years.

Returns:
150 years

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

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

The venerable age for gnomes is 200 years.

Returns:
200 years

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


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