ogs.spells
Class Enchantment
java.lang.Object
|
+--ogs.support.Object
|
+--ogs.magic.Spell
|
+--ogs.spells.Enchantment
- All Implemented Interfaces:
- EventListener
- public abstract class Enchantment
- extends Spell
A spell in the Enchantment school. This class is the abstract base
class for all Enchantment 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 |
Enchantment
public Enchantment()
getSchool
public School getSchool()
- Determine the school (or subschool) for this type of spell. All
Enchantment spells are in the Enchantment school or an Enchantment
subschool. Derived classes may override this function to return an
Enchantment subschool.
- Specified by:
getSchool
in class Spell
- Returns:
- Enchantment school.