Interface MazeRunner
- All Known Implementing Classes:
- RandomMazeRunner
public interface MazeRunner
Abstract base class for MazeRunners. It has a solveMaze method that, given a
maze, will attempt to find a path from the start to the goal in the maze.
|
Method Summary |
void |
solveMaze(Maze maze,
java.io.PrintWriter writer)
Attempts to find a path from the start to the donut node of the maze given
in maze. |
solveMaze
void solveMaze(Maze maze,
java.io.PrintWriter writer)
- Attempts to find a path from the start to the donut node of the maze given
in
maze.
- Parameters:
maze - The maze to solve.writer - The PrintWriter on which to output the maze solution.