spellcast.beings
Interface IWizard

All Superinterfaces:
IBeing, util.Nullable
All Known Implementing Classes:
NullWizard, Wizard

public interface IWizard
extends IBeing

A Wizard of Spellcast.

Version:
$Revision: 1.1 $
Author:
Barrie Treloar

Method Summary
 void addQuestion(IQuestion theQuestionToAsk)
          Add a IQuestion to the IWizard.
 Gesture getLeftHandGesture()
          Get the value of leftHandGesture.
 Gesture getRightHandGesture()
          Get the value of rightHandGesture.
 boolean isReady()
          Whether the Wizard has completed their actions for this turn and is ready for the next turn.
 void setLeftHandGesture(Gesture theGesture)
          Set the value of leftHandGesture.
 void setReady(boolean isReady)
          Indicate whether the Wizard has completed all the actions for this turn and is ready for the turn to be completed.
 void setRightHandGesture(Gesture theGesture)
          Set the value of rightHandGesture.
 
Methods inherited from interface spellcast.beings.IBeing
addEnchantment, getEnchantments, getGender, getHitPoints, getId, getLeavesCorpse, getMaxHitPoints, getName, isActive, isAlive, removeEnchantment, setActive, setAlive, setGender, setHitPoints, setId, setLeavesCorpse, setMaxHitPoints, setName, shouldDie, takeDamage, updateEnchantments
 
Methods inherited from interface util.Nullable
isNull
 

Method Detail

isReady

boolean isReady()
Whether the Wizard has completed their actions for this turn and is ready for the next turn.

Returns:
true if the Wizard is ready, false otherwise.

setReady

void setReady(boolean isReady)
Indicate whether the Wizard has completed all the actions for this turn and is ready for the turn to be completed.

Parameters:
isReady - true if the Wizard is ready, false otherwise.

getLeftHandGesture

Gesture getLeftHandGesture()
Get the value of leftHandGesture.

Returns:
value of leftHandGesture.

setLeftHandGesture

void setLeftHandGesture(Gesture theGesture)
Set the value of leftHandGesture.

Parameters:
theGesture - Value to assign to leftHandGesture.

getRightHandGesture

Gesture getRightHandGesture()
Get the value of rightHandGesture.

Returns:
value of rightHandGesture.

setRightHandGesture

void setRightHandGesture(Gesture theGesture)
Set the value of rightHandGesture.

Parameters:
theGesture - Value to assign to rightHandGesture.

addQuestion

void addQuestion(IQuestion theQuestionToAsk)
Add a IQuestion to the IWizard.

Parameters:
theQuestionToAsk - the IQuestion to ask the IWizard


Copyright © 2001-2005 Spellcast. All Rights Reserved.