Class TutorialTextDisplay

java.lang.Object
com.mg105.user_interface.TutorialTextDisplay

public class TutorialTextDisplay extends Object
Returns the actual text that is displayed to the player
  • Constructor Details

    • TutorialTextDisplay

      public TutorialTextDisplay()
      Constructor for a new TutorialTextDisplay ui
  • Method Details

    • showBottomText

      public String showBottomText(String displayedText)
      Check if specific action has been performed
      Parameters:
      displayedText - the String representing the current phase
      Returns:
      the actual text displayed to the user
    • tutorialLabel

      public javafx.scene.control.Label tutorialLabel()
      Return a label that will show at the bottom of the screen.
      Returns:
      the label
    • getController

      public TutorialTextController getController()
      Get a tutorial controller which is used to switch text
      Returns:
      instance of the controller