Class MazeExplorer

java.lang.Object
  extended by MazeExplorer

public class MazeExplorer
extends java.lang.Object


Nested Class Summary
private  class MazeExplorer.Room
           
 
Field Summary
(package private)  MazeExplorer.Room current
           
(package private)  Maze maze
           
 
Constructor Summary
MazeExplorer(Maze maze, java.util.Scanner scan)
          Generates first room and calls move() until room is null (end is reached)
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

maze

Maze maze

current

MazeExplorer.Room current
Constructor Detail

MazeExplorer

public MazeExplorer(Maze maze,
                    java.util.Scanner scan)
Generates first room and calls move() until room is null (end is reached)

Parameters:
maze -
scan -