|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectspellcast.spell.SpellImpl
public class SpellImpl
The default implementation of ISpell.
| Constructor Summary | |
|---|---|
protected |
SpellImpl(IWizard theCaster,
IBeing theTarget,
Gesture[] theGestures,
java.lang.String theDescription)
Creates the default implementation of SpellImpl. |
| Method Summary | |
|---|---|
IWizard |
getCaster()
Return the IWizard who cast this ISpell. |
java.lang.String |
getDescription()
Return the description of this ISpell. |
Gesture[] |
getGestures()
Return the Gestures needed to cast this ISpell. |
IBeing |
getTarget()
Return the target IBeing of this ISpell. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected SpellImpl(IWizard theCaster,
IBeing theTarget,
Gesture[] theGestures,
java.lang.String theDescription)
SpellImpl.
theCaster - the IWizard caster of the ISpell.theTarget - the target IBeing of the ISpell.theGestures - the Gesture s needed to cast this
ISpell.theDescription - the description of this ISpell.| Method Detail |
|---|
public final IWizard getCaster()
IWizard who cast this ISpell.
getCaster in interface ISpellIWizard who cast this ISpell.public final java.lang.String getDescription()
ISpell.
getDescription in interface ISpellISpell.public final Gesture[] getGestures()
Gestures needed to cast this ISpell.
getGestures in interface ISpellGestures needed to cast this ISpell.public final IBeing getTarget()
IBeing of this ISpell.
getTarget in interface ISpellIBeing of this ISpell.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||