OGS Java API Spec

ogs.spells
Class Illusion

java.lang.Object
  |
  +--ogs.support.Object
        |
        +--ogs.magic.Spell
              |
              +--ogs.spells.Illusion
All Implemented Interfaces:
EventListener

public abstract class Illusion
extends Spell

A spell in the Illusion school. This class is the abstract base class for all Illusion spells.


Field Summary
 
Fields inherited from class ogs.support.Object
listeners
 
Constructor Summary
Illusion()
           
 
Method Summary
 School getSchool()
          Determine the school (or subschool) for this type of spell.
 
Methods inherited from class ogs.magic.Spell
addMetamagicFeat, getComponents, getDescriptors, getMetamagicSlots, getRange
 
Methods inherited from class ogs.support.Object
addListener, handleEvent, notifyListeners, removeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Illusion

public Illusion()
Method Detail

getSchool

public School getSchool()
Determine the school (or subschool) for this type of spell. All Illusion spells are in the Illusion school or an Illusion subschool. Derived classes may override this function to return an Illusion subschool.

Specified by:
getSchool in class Spell
Returns:
Illusion school.

OGS Java API Spec