Interface IRunView

All Known Implementing Classes:
RunViewV1, RunViewV2, RunViewV3

public interface IRunView
Interface for RunView. Specifies the methods that the RunView should implement.
  • 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

      void showHint(List<int[]> path)
      Displays the hint path in the RunView.
      Parameters:
      path - The path to show as a hint.