spellcast.event
Class QueryEvent

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

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

A Query Event contains a query for the specified client.

Author:
Barrie Treloar
See Also:
Serialized Form

Constructor Summary
QueryEvent(Question query)
           
 
Method Summary
 Question getQuery()
          Get the value of query.
 void setQuery(Question v)
          Set the value of query.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryEvent

public QueryEvent(Question query)
Method Detail

getQuery

public Question getQuery()
Get the value of query.

Returns:
value of query.

setQuery

public void setQuery(Question v)
Set the value of query.

Parameters:
v - Value to assign to query.


Copyright © 2001-2005 Spellcast. All Rights Reserved.