Class WhisperCommand
Object
NormalCommand
TargetCommand
CommunicationCommand
WhisperCommand
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected DisplayInterface
Special case again, because this whisper has a very different message when whispering to people.Methods inherited from class CommunicationCommand
action
Methods inherited from class TargetCommand
getTarget, run
Methods inherited from class NormalCommand
getAdminService, getChatService, getEventsService, getGuildService, getHelpService, getItemService, getLogService, getPersonService, getRegExpr, parseCommand, parseCommand, setCallback
-
Constructor Details
-
WhisperCommand
-
-
Method Details
-
actionTo
protected DisplayInterface actionTo(User aUser, Person aTarget, String verb, String message) throws MudException Special case again, because this whisper has a very different message when whispering to people. Other people will not understand you.- Overrides:
actionTo
in classCommunicationCommand
- Parameters:
aUser
-aTarget
-verb
- the verb, usually the first word in the command, for example "cheer".message
-- Returns:
- the room
- Throws:
MudException
-
getCommType
- Specified by:
getCommType
in classCommunicationCommand
-