Class FailView
java.lang.Object
com.edu.xmum.CST210.View.Entity.V1.FailView
- All Implemented Interfaces:
IFailView
Represents the view displayed when the player fails the game.
Implements the IFailView interface.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavafx.scene.control.ButtonGets the back button in the FailView.javafx.scene.layout.VBoxgetNode()Gets the root node of the FailView.
-
Constructor Details
-
FailView
public FailView()Constructs the FailView and initializes the UI components.
-
-
Method Details
-
getNode
public javafx.scene.layout.VBox getNode()Gets the root node of the FailView. -
getBackButton
public javafx.scene.control.Button getBackButton()Gets the back button in the FailView.- Specified by:
getBackButtonin interfaceIFailView- Returns:
- The back button.
-