OGS Java API Spec

ogs.spells
Class Universal

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

public abstract class Universal
extends Spell

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


Field Summary
 
Fields inherited from class ogs.support.Object
listeners
 
Constructor Summary
Universal()
           
 
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

Universal

public Universal()
Method Detail

getSchool

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

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

OGS Java API Spec