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 TypeMethodDescriptionjavafx.scene.control.ButtonGets the back button in the VictoryView.javafx.scene.layout.VBoxgetNode()Gets the root node of the VictoryView.voidSets 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
Sets the winner's name to be displayed in the VictoryView.- Parameters:
winner- The name of the winner.
-