spellcast.event
Class OkEvent

java.lang.Object
  extended by spellcast.event.OkEvent
All Implemented Interfaces:
java.io.Serializable, GameEvent

public class OkEvent
extends java.lang.Object
implements GameEvent, java.io.Serializable

An Ok Event specifies that the wizard has completed their turn. The gestures and answers for the current turn are also provided.

Author:
Barrie Treloar
See Also:
Serialized Form

Constructor Summary
OkEvent()
          Create an OkEvent.
 
Method Summary
 java.util.List getAnswers()
          Get the value of answers.
 Gesture getLeftHandGesture()
          Get the value of leftHandGesture.
 Gesture getRightHandGesture()
          Get the value of rightHandGesture.
 void setAnswers(java.util.List v)
          Set the value of answers.
 void setLeftHandGesture(Gesture v)
          Set the value of leftHandGesture.
 void setRightHandGesture(Gesture v)
          Set the value of rightHandGesture.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OkEvent

public OkEvent()
Create an OkEvent.

Method Detail

getLeftHandGesture

public Gesture getLeftHandGesture()
Get the value of leftHandGesture.

Returns:
value of leftHandGesture.

setLeftHandGesture

public void setLeftHandGesture(Gesture v)
Set the value of leftHandGesture.

Parameters:
v - Value to assign to leftHandGesture.

getRightHandGesture

public Gesture getRightHandGesture()
Get the value of rightHandGesture.

Returns:
value of rightHandGesture.

setRightHandGesture

public void setRightHandGesture(Gesture v)
Set the value of rightHandGesture.

Parameters:
v - Value to assign to rightHandGesture.

getAnswers

public java.util.List getAnswers()
Get the value of answers.

Returns:
value of answers.

setAnswers

public void setAnswers(java.util.List v)
Set the value of answers.

Parameters:
v - Value to assign to answers.


Copyright © 2001-2005 Spellcast. All Rights Reserved.