wyvern.kernel.commands
Interface VerbalEvent

All Known Implementing Classes:
SayEvent, ShoutEvent, WhisperCommand.WhisperEvent

public interface VerbalEvent

Shared interface for any event where the user communicates something as a result of the event. Say, shout, tell, and whisper are all examples of this kind of event.

Version:
1.0, Sep 17, 2000
Author:
Steve Yegge

Method Summary
 java.lang.String getMessage()
          Returns the message that will be communicated, stripped of the command verb.
 void setMessage(java.lang.String message)
          Sets the message to be said, shouted, told, whispered.
 

Method Detail

getMessage

public java.lang.String getMessage()
Returns the message that will be communicated, stripped of the command verb. It's usually just the argument string for the event.

Returns:
whatever the user is going to say, shout, tell

setMessage

public void setMessage(java.lang.String message)
Sets the message to be said, shouted, told, whispered.

Parameters:
message - the new message to shout, say, tell, whisper