Class CrossRoad

java.lang.Object
  extended by becker.robots.Sim
      extended by becker.robots.Intersection
          extended by CrossRoad
All Implemented Interfaces:
becker.robots.ILabel

public class CrossRoad
extends becker.robots.Intersection

This class provides support for the Drivers' Ed project found here. This class is referenced by the Annex class. There is no need to reference this class yourself.

Author:
Chris Darcy

Constructor Summary
CrossRoad(becker.robots.City c, int s, int a)
           
 
Method Summary
 boolean isExitAvailable(becker.robots.Direction d)
           
 
Methods inherited from class becker.robots.Intersection
addSim, countSims, countThings, entryIsBlocked, examineLights, examineRobots, examineThings, examineThings, exitIsBlocked, getAvenue, getIntersection, getLabel, getNeighbor, getStreet, hashCode, removeSim, save, setLabel, toString
 
Methods inherited from class becker.robots.Sim
getCity, getColor, getIcon, keyTyped, notifyObservers, notifyObservers, setColor, setIcon
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CrossRoad

public CrossRoad(becker.robots.City c,
                 int s,
                 int a)
Method Detail

isExitAvailable

public boolean isExitAvailable(becker.robots.Direction d)