TrafficSignal
class
n
The traffic signal class cycles
through 4 states:
u
LEFT
(left turn arrow)
u
GO
(green light)
u
CAUTION
(yellow light)
u
STOP
(red light)
n
The component variable
currentState
will hold one of
these states.