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

ogs::creatures::Humanoid Class Reference

A human-like creature. More...

#include <Humanoid.h>

Inheritance diagram for ogs::creatures::Humanoid:

Inheritance graph
[legend]
Collaboration diagram for ogs::creatures::Humanoid:

Collaboration graph
[legend]
List of all members.

Static Public Member Functions

Parts createParts ()
 Create a humanoid body.


Static Public Attributes

const ogs::core::Die::Sides HIT_DIE = ogs::core::Die::d8
 The hit die normally used for humanoid creatures.

const ogs::core::Skill::Points SKILL_RATE = 1
 The skill rate normally used for humanoid creatures.


Protected Member Functions

 Humanoid (ogs::core::Die hitDice, ogs::core::Abilities abilities, ogs::core::Size::Type size=ogs::core::Size::MEDIUM, Parts parts=createParts())
 Create a new humanoid creature.


Detailed Description

Although humanoids have the same general shape and traits as human beings, size and appearance can vary widely.


Constructor & Destructor Documentation

ogs::creatures::Humanoid::Humanoid ogs::core::Die  hitDice,
ogs::core::Abilities  abilities,
ogs::core::Size::Type  size = ogs::core::Size::MEDIUM,
Parts  parts = createParts ()
[inline, protected]
 

This constructor just forwards the arguments to the Creature constructor.

Parameters:
hitDice Hit dice of creature.
abilities Ability scores of creature.
size Size of creature.
parts An array of body part types.


Member Function Documentation

Creature::Parts Humanoid::createParts  )  [static]
 

Other types of creatures also have humanoid bodies even if they are not technically classified as humanoids. This function can be called by other types of creatures that need to create humanoid bodies.


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