OGS Java API Spec

ogs.spells
Class Divination

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

public abstract class Divination
extends Spell

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


Field Summary
 
Fields inherited from class ogs.support.Object
listeners
 
Constructor Summary
Divination()
           
 
Method Summary
 School getSchool()
          Determine the school 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

Divination

public Divination()
Method Detail

getSchool

public School getSchool()
Determine the school for this type of spell. All Divination spells are in the Divination school.

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

OGS Java API Spec