Class HelpMenuOption

java.lang.Object
javatro.manager.options.HelpMenuOption
All Implemented Interfaces:
Option

public class HelpMenuOption extends Object implements Option
The HelpMenuOption class handles displaying the help screen in javatro. This command is executed when the player selects the help option.
  • Constructor Details

    • HelpMenuOption

      public HelpMenuOption()
  • Method Details

    • getDescription

      public String getDescription()
      Returns a description of this command.
      Specified by:
      getDescription in interface Option
      Returns:
      A string describing the command.
    • execute

      public void execute() throws JavatroException
      Executes the command to display the help screen.
      Specified by:
      execute in interface Option
      Throws:
      JavatroException - If an error occurs during execution.