Interface IRunView
public interface IRunView
Interface for RunView.
Specifies the methods that the RunView should implement.
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdjusts the layout of the RunView.Gets the AI view in the RunView.javafx.scene.control.ButtonGets the hint button in the RunView.Gets the maze view in the RunView.javafx.scene.layout.BorderPanegetNode()Gets the root node of the RunView.Gets the player view in the RunView.javafx.scene.control.ButtonGets the reset button in the RunView.Gets the second player view in the RunView.voidResets the view, updating any changes.voidDisplays the hint path in the RunView.
-
Method Details
-
getResetButton
javafx.scene.control.Button getResetButton()Gets the reset button in the RunView.- Returns:
- The reset button.
-
getHintButton
javafx.scene.control.Button getHintButton()Gets the hint button in the RunView.- Returns:
- The hint button.
-
getNode
javafx.scene.layout.BorderPane getNode()Gets the root node of the RunView.- Returns:
- The BorderPane root node.
-
getPlayerView
IPlayerView getPlayerView()Gets the player view in the RunView.- Returns:
- The player view.
-
getMazeView
IMazeView getMazeView()Gets the maze view in the RunView.- Returns:
- The maze view.
-
getAiView
IPlayerView getAiView()Gets the AI view in the RunView.- Returns:
- The AI view.
-
getSecondPlayerView
IPlayerView getSecondPlayerView()Gets the second player view in the RunView.- Returns:
- The second player view.
-
reSetView
void reSetView()Resets the view, updating any changes. -
adjustLayout
void adjustLayout()Adjusts the layout of the RunView. -
showHint
Displays the hint path in the RunView.- Parameters:
path- The path to show as a hint.
-