OO Programming in Java

Class Material


Simulator
 

Here's the actual Code

 


Here are the object relationships for the simulator.


(There's an error in the TLCAdapter diagram (not the code). It should have an additional reference, one to the TrafficLiteSimulator)



and here is what the simulator looks like ...




The pedistrian buttons are on the sidewalk, the traffic sensors are in the street.

.