Class HelpScreen

java.lang.Object
javatro.display.screens.Screen
javatro.display.screens.HelpScreen

public class HelpScreen extends Screen
The HelpScreen class represents a screen displaying the help menu in the javatro application. It provides various help options, including an introduction, rules, how-to-play guide, and tips. Users can also return to the main menu from this screen.
  • Constructor Details

    • HelpScreen

      public HelpScreen() throws JavatroException
      Constructs a HelpScreen instance and initializes the available help options.
      Throws:
      JavatroException - if an error occurs while setting up the screen
  • Method Details

    • displayScreen

      public void displayScreen()
      Displays the help screen. This method should be overridden to define how the help menu is presented.
      Specified by:
      displayScreen in class Screen