spellcast.event
Class ConnectionEvent

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

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

The ConnectionEvent is in response to a ConnectionRequestEvent. It indicates the spellcast server has the specified wizard connected to it.

Author:
Barrie Treloar
See Also:
Serialized Form

Constructor Summary
ConnectionEvent(Wizard wizard)
          Create a ConnectionEvent.
 
Method Summary
 Wizard getWizard()
          Get the value of wizard.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionEvent

public ConnectionEvent(Wizard wizard)
Create a ConnectionEvent. A ConnectionEvent contains a wizard that has connected to the spellcast server.

Parameters:
wizard - the wizard to add to the client
Method Detail

getWizard

public Wizard getWizard()
Get the value of wizard.

Returns:
value of wizard.


Copyright © 2001-2005 Spellcast. All Rights Reserved.