Class Mazen

java.lang.Object
  extended by Mazen

public class Mazen
extends java.lang.Object


Constructor Summary
Mazen()
           
 
Method Summary
static void explore(java.util.Scanner scan)
          Makes a new instance of MazeExplorer Calls either newMaze() or oldMaze()
static void main(java.lang.String[] args)
          Initializes scanner, calls explore() or solve()
static Maze newMaze(java.util.Scanner scan)
          Makes a new instance of MazeMaker()
static Maze oldMaze(java.util.Scanner scan)
          Calls MazeSolver() to read a maze from a file
static void solve(java.util.Scanner scan)
          Makes a new instance of MazeSolver Calls either newMaze() or oldMaze()
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mazen

public Mazen()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.io.FileNotFoundException
Initializes scanner, calls explore() or solve()

Parameters:
args -
Throws:
java.io.FileNotFoundException

explore

public static void explore(java.util.Scanner scan)
Makes a new instance of MazeExplorer Calls either newMaze() or oldMaze()

Parameters:
scan -

solve

public static void solve(java.util.Scanner scan)
Makes a new instance of MazeSolver Calls either newMaze() or oldMaze()

Parameters:
scan -

newMaze

public static Maze newMaze(java.util.Scanner scan)
Makes a new instance of MazeMaker()

Parameters:
scan -
Returns:

oldMaze

public static Maze oldMaze(java.util.Scanner scan)
Calls MazeSolver() to read a maze from a file

Parameters:
scan -
Returns: