Class HelpIntroOption

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

public class HelpIntroOption extends Object implements Option
The HelpIntroOption class provides an introduction to javatro. This command is executed when the player requests an introduction.
  • Constructor Details

    • HelpIntroOption

      public HelpIntroOption()
  • 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 introduction message.
      Specified by:
      execute in interface Option
      Throws:
      JavatroException - If an error occurs during execution.