Package javatro.manager.options
Class HelpIntroOption
java.lang.Object
javatro.manager.options.HelpIntroOption
- All Implemented Interfaces:
Option
The HelpIntroOption class provides an introduction to javatro. This command is executed when the
player requests an introduction.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()Executes the command to display the introduction message.Returns a description of this command.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javatro.manager.options.Option
setDescription
-
Constructor Details
-
HelpIntroOption
public HelpIntroOption()
-
-
Method Details
-
getDescription
Returns a description of this command.- Specified by:
getDescriptionin interfaceOption- Returns:
- A string describing the command.
-
execute
Executes the command to display the introduction message.- Specified by:
executein interfaceOption- Throws:
JavatroException- If an error occurs during execution.
-