public class HelpCommand extends Command
Constructor and Description |
---|
HelpCommand(CommandWords words)
Constructor for objects of class HelpCommand
|
Modifier and Type | Method and Description |
---|---|
boolean |
execute(Player player)
Print out some help information.
|
String |
message()
Get the descriptive message that is presented before
the list of commands when this command is executed.
|
getSecondWord, hasSecondWord, setSecondWord
public HelpCommand(CommandWords words)
words
- The set of words to print help forpublic boolean execute(Player player)
public String message()