Package javatro.manager.options
Class HelpMenuOption
java.lang.Object
javatro.manager.options.HelpMenuOption
- All Implemented Interfaces:
Option
The HelpMenuOption class handles displaying the help screen in javatro. This command is executed
when the player selects the help option.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()Executes the command to display the help screen.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
-
HelpMenuOption
public HelpMenuOption()
-
-
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 help screen.- Specified by:
executein interfaceOption- Throws:
JavatroException- If an error occurs during execution.
-