|
OGS Java API Spec | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ogs.support.Object | +--ogs.magic.Spell
A magical effect produced by an entity. All spells have the following properties in common: school, descriptors, components, and range. Some of these properties can be modified by metamagic feats for a particular instance of a spell.
Field Summary |
Fields inherited from class ogs.support.Object |
listeners |
Constructor Summary | |
Spell()
|
Method Summary | |
boolean |
addMetamagicFeat(MetamagicFeat metamagicFeat)
Add a metamagic feat to this spell. |
abstract Vector |
getComponents()
Determine the components needed to cast this spell. |
Descriptors |
getDescriptors()
Determine the descriptors for this type of spell. |
int |
getMetamagicSlots()
Determine the metamagic slots for this spell. |
abstract Range |
getRange()
Determine the range of this spell. |
abstract School |
getSchool()
Determine the school (and subschool if applicable) for this type of spell. |
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 |
public Spell()
Method Detail |
public abstract School getSchool()
public Descriptors getDescriptors()
public abstract Vector getComponents()
public abstract Range getRange()
public boolean addMetamagicFeat(MetamagicFeat metamagicFeat)
metamagicFeat
- The metamagic feat to add to this spell.
public int getMetamagicSlots()
|
OGS Java API Spec | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |