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

ogs::spells::Enchantment Class Reference

A spell in the Enchantment school. More...

#include <Enchantment.h>

Inheritance diagram for ogs::spells::Enchantment:

Inheritance graph
[legend]
Collaboration diagram for ogs::spells::Enchantment:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual const ogs::magic::SchoolgetSchool () const
 Determine the school (or subschool) for this type of spell.


Detailed Description

This class is the abstract base class for all Enchantment spells.


Member Function Documentation

const ogs::magic::School & ogs::spells::Enchantment::getSchool  )  const [inline, virtual]
 

All Enchantment spells are in the Enchantment school or an Enchantment subschool. Derived classes may override this function to return an Enchantment subschool.

Returns:
Enchantment school.

Implements ogs::magic::Spell.


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