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.
Method Summary |
School |
getSchool()
Determine the school (or subschool) for this type of spell. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Illusion
public Illusion()
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.