import becker.robots.*;

/**
 * This driver class has been prepared for the 2011 ICS2O course in support of
 * the <a href=
 * "http://darcy.rsgc.on.ca/ACES/ICS2O/1011RobotProgrammingProjects.htm#ElDorado"
 * >El Dorado Project</a>. The region contains a number of caches of precious
 * stones that point the way to the Lost City of Gold. An Explorer object
 * retrieves the jewels and uses their numbers to determine the location of the
 * next cache, eventually leading to the Gold. Note: This file is not to be
 * modified. <b>Date: 2011 05 01.</b>
 * 
 * @author C. D'Arcy
 */
public class ElDorado {

	/**
	 * The main method creates the region from a text file, instantiates the
	 * explorer and invokes the search method to find the gold.
	 * 
	 * @param args
	 *            parameters passed from the command line
	 */
	public static void main(String[] args) {
		City elDorado = new City("TreasureMap.txt");
		elDorado.showThingCounts(true);
		elDorado.setFrameTitle("El Dorado: The Lost City of Gold");
		Explorer pizarro = new Explorer(elDorado, 0, 0, Direction.NORTH);
		pizarro.search();
	}

}
