spellcast.event
Class MessageEvent

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

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

A Message Event contains a strig message to be sent to the wizards.

Author:
Barrie Treloar
See Also:
Serialized Form

Constructor Summary
MessageEvent(java.lang.String message)
          Create a Message Event.
 
Method Summary
 java.lang.String getMessage()
          Return the message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageEvent

public MessageEvent(java.lang.String message)
Create a Message Event.

Method Detail

getMessage

public java.lang.String getMessage()
Return the message.

Returns:
the message for the wizard. Never null.


Copyright © 2001-2005 Spellcast. All Rights Reserved.