Uses of Class
MazeCell

Uses of MazeCell in <Unnamed>
 

Fields in <Unnamed> declared as MazeCell
private  MazeCell[][] Maze.cells
          A 2-dimensional array that holds/represents all the cells in this maze.
private  MazeCell Maze.donutCell
          The donut cell of this maze.
 MazeCell RandomMazeRunner.SolutionPathInfo.nextInSolution
          Link to the next cell in the solution path.
private  MazeCell Maze.NeighborIterator.refCell
          The cell over whose neighbors we are iterating.
private  MazeCell Maze.startCell
          The start cell of this maze.
 

Methods in <Unnamed> that return MazeCell
 MazeCell Maze.getCell(int row, int col)
          Returns the cell located at (row,col).
 MazeCell Maze.getDonut()
          Return the maze cell that contains the donut.
private  MazeCell RandomMazeRunner.getRandomNeighbor(Maze maze, MazeCell curCell)
          A helper method that chooses a random neighboring node of the current cell.
 MazeCell Maze.getStart()
          Return the maze's starting cell.
 MazeCell Maze.MazeIterator.next()
          If hasNext() is true, this returns the next cell in the iteration sequence.
 MazeCell Maze.NeighborIterator.next()
          If hasNext() is true, this returns the next cell in the iteration sequence.
 

Methods in <Unnamed> that return types with arguments of type MazeCell
 java.util.Iterator<MazeCell> Maze.getCells()
          Returns an iterator over all cells in this maze.
 java.util.Iterator<MazeCell> Maze.getNeighbors(MazeCell cell)
          Returns an iterator over the neighbors of the given cell.
 

Methods in <Unnamed> with parameters of type MazeCell
 void MazeChangeListener.cellStateChangeEvent(MazeCell cell)
          This method is called when a single cell has had its state changed.
 void MazeTracer.cellStateChangeEvent(MazeCell cell)
          This function prints out the state of the cell that has changed.
 java.util.Iterator<MazeCell> Maze.getNeighbors(MazeCell cell)
          Returns an iterator over the neighbors of the given cell.
private  MazeCell RandomMazeRunner.getRandomNeighbor(Maze maze, MazeCell curCell)
          A helper method that chooses a random neighboring node of the current cell.
private static RandomMazeRunner.SolutionPathInfo RandomMazeRunner.getSolutionPathInfo(MazeCell curCell)
          A helper method that returns a pointer to the SolutionPathInfo associated with a given cell.
private  void Maze.setCell(int row, int col, MazeCell cell)
          Change the cell located at (row,col).
 

Constructors in <Unnamed> with parameters of type MazeCell
Maze.NeighborIterator(MazeCell cell)
          Construct a new NeighborIterator that will iterator over the neighbors of cell