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

ogs::core::Advance Class Reference

Manages experience level advancement of a character. More...

#include <Character.h>

Collaboration diagram for ogs::core::Advance:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Advance (CClass &cclass)
 Create a new advancement information object for a given cclass.

CClassgetCClass () const
 Determine the cclass that advanced for this level.

Die::Value getHitPoints () const
Skill::Points getSkillPoints () const
 Determine how many skill points have already been spent for this level.

void addSkill (Skill *skill, Skill::Points skillPoints)
AbilitygetAbilityIncrease () const
 Determine the ability increase for this level if any.

void increaseAbility (Ability *ability)

Detailed Description

This class manages the information used when a character advances in experience level. This information includes which cclass was advanced, how many hit points were gained, how many skill points were gained and which skills they were spent on, any abilities that were increased, and any feats that were gained.


Constructor & Destructor Documentation

Character::Advance::Advance CClass cclass  ) 
 

Parameters:
cclass Character class advanced for this level.


Member Function Documentation

Ability * ogs::core::Advance::getAbilityIncrease  )  const [inline]
 

Returns:
Ability increased or NULL if not assigned.

CClass & ogs::core::Advance::getCClass  )  const [inline]
 

Returns:
Character class.

Skill::Points Character::Advance::getSkillPoints  )  const
 

Returns:
Skill points already spent.


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