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 TypeMethodDescriptionvoiddraw()Draws the maze view for the first time.intGets the cell size for the maze view.javafx.scene.layout.PanegetNode()Gets the main node of the maze view.voidreDraw()Redraws the maze view, updating any changes.voidsetCellSize(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.
-