import javax.swing.JApplet; import becker.robots.*; /** * This class was developed as the driver class for Programming Project 3.10 on * page 163. Further details can be found at SuperHeroes.
* Date: 2012 03 27 * * @author C. D'Arcy * */ public class SuperHeroes { /** * Main method instantiates a CityBuilder and SpiderBot object prior to * invoking the latter's traverseBuilding() method three times to jump the * buildings. * * @param args * parameters passed from the O/S */ static SpiderBot peter; public static void main(String[] args) { CityBuilder newYork = new CityBuilder(); newYork.setFrameTitle("SuperHeroes: Programming Project 3.10. Page 163."); peter = new SpiderBot(newYork, 5, 0, Direction.NORTH, 2.5); peter.completeMission(); } }