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

ogs::core::StandardMethod Struct Reference

A method that generates above-average ability scores. More...

#include <Ability.h>

Inheritance diagram for ogs::core::StandardMethod:

Inheritance graph
[legend]
Collaboration diagram for ogs::core::StandardMethod:

Collaboration graph
[legend]
List of all members.

Public Member Functions

Ability::Score operator() (Ability::Type)
 Generate a score using the standard method.


Detailed Description

The standard method rolls 4d6 and adds the highest three rolls to generate an ability score. The standard method is normally used to generate ability scores for player characters.


Member Function Documentation

Ability::Score ogs::core::StandardMethod::operator() Ability::Type   )  [inline, virtual]
 

The type parameter is not used.

Returns:
An ability score.

Implements ogs::core::Method.


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