Interface IVictoryView

All Known Implementing Classes:
VictoryViewV1, VictoryViewV2, VictoryViewV3

public interface IVictoryView
Interface for VictoryView. Specifies the methods that the VictoryView should implement.
  • Method Summary

    Modifier and Type
    Method
    Description
    javafx.scene.control.Button
    Gets the back button in the VictoryView.
    javafx.scene.layout.VBox
    Gets the root node of the VictoryView.
    void
    setWinner(String winner)
    Sets the winner's name to be displayed in the VictoryView.
  • Method Details

    • getBackButton

      javafx.scene.control.Button getBackButton()
      Gets the back button in the VictoryView.
      Returns:
      The back button.
    • getNode

      javafx.scene.layout.VBox getNode()
      Gets the root node of the VictoryView.
      Returns:
      The VBox root node.
    • setWinner

      void setWinner(String winner)
      Sets the winner's name to be displayed in the VictoryView.
      Parameters:
      winner - The name of the winner.