One final note: when state is changed to GO,
passageRequested should be automatically set to false. The state can only be set to GO.
- Next, derive two concrete subclasses of
TrafficSignal, TrafficLight and WalkSign that implement the getMessage() method.