Package com.mg105.user_interface
Class TutorialTextDisplay
java.lang.Object
com.mg105.user_interface.TutorialTextDisplay
Returns the actual text that is displayed to the player
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet a tutorial controller which is used to switch textshowBottomText
(String displayedText) Check if specific action has been performedjavafx.scene.control.Label
Return a label that will show at the bottom of the screen.
-
Constructor Details
-
TutorialTextDisplay
public TutorialTextDisplay()Constructor for a new TutorialTextDisplay ui
-
-
Method Details
-
showBottomText
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
Get a tutorial controller which is used to switch text- Returns:
- instance of the controller
-