Class RandomMazeRunner.SolutionPathInfo

java.lang.Object
  extended by RandomMazeRunner.SolutionPathInfo
Enclosing class:
RandomMazeRunner

private static class RandomMazeRunner.SolutionPathInfo
extends java.lang.Object

We can store some information in each cell of the maze to keep track of our solution path. For the random maze runner, we'll store the next cell on the solution path. You may need to do something different for more sophisticated search algorithms.


Field Summary
 MazeCell nextInSolution
          Link to the next cell in the solution path.
 
Constructor Summary
private RandomMazeRunner.SolutionPathInfo()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nextInSolution

public MazeCell nextInSolution
Link to the next cell in the solution path.

Constructor Detail

RandomMazeRunner.SolutionPathInfo

private RandomMazeRunner.SolutionPathInfo()