Interface IMazeView

All Known Implementing Classes:
MazeViewV1, MazeViewV2, MazeViewV3

public interface IMazeView
Interface for MazeView. Specifies the methods that the MazeView should implement.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Draws the maze view for the first time.
    int
    Gets the cell size for the maze view.
    javafx.scene.layout.Pane
    Gets the main node of the maze view.
    void
    Redraws the maze view, updating any changes.
    void
    setCellSize(int cellSize)
    Sets the cell size for the maze view.
  • Method Details

    • getCellSize

      int getCellSize()
      Gets the cell size for the maze view.
      Returns:
      The size of each cell in the view.
    • setCellSize

      void setCellSize(int cellSize)
      Sets the cell size for the maze view.
      Parameters:
      cellSize - The size of each cell in the view.
    • getNode

      javafx.scene.layout.Pane getNode()
      Gets the main node of the maze view.
      Returns:
      The Pane containing the maze view.
    • draw

      void draw()
      Draws the maze view for the first time.
    • reDraw

      void reDraw()
      Redraws the maze view, updating any changes.