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

ogs::skills::SkillFactory Struct Reference

An object that creates skill objects.

#include <SkillFactory.h>

Inheritance diagram for ogs::skills::SkillFactory:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ogs::core::SkillcreateSkill (ogs::core::Skill::Type skillType, ogs::core::Skill::Points cclassPoints=0) const=0
 Create a new skill of a specified type.


Member Function Documentation

virtual ogs::core::Skill* ogs::skills::SkillFactory::createSkill ogs::core::Skill::Type  skillType,
ogs::core::Skill::Points  cclassPoints = 0
const [pure virtual]
 

Parameters:
skillType Type of skill.
cclassPoints Points spent on cclass skill.
Returns:
A new skill of the specified type.

Implemented in ogs::skills::CommonSkills.


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