Class FailView

java.lang.Object
com.edu.xmum.CST210.View.Entity.V1.FailView
All Implemented Interfaces:
IFailView

public class FailView extends Object implements IFailView
Represents the view displayed when the player fails the game. Implements the IFailView interface.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructs the FailView and initializes the UI components.
  • Method Summary

    Modifier and Type
    Method
    Description
    javafx.scene.control.Button
    Gets the back button in the FailView.
    javafx.scene.layout.VBox
    Gets the root node of the FailView.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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.
      Specified by:
      getNode in interface IFailView
      Returns:
      The VBox root node.
    • getBackButton

      public javafx.scene.control.Button getBackButton()
      Gets the back button in the FailView.
      Specified by:
      getBackButton in interface IFailView
      Returns:
      The back button.