Define a class, TrafficLight, that produces a drawing that looks like a traffic light. Use the setFillColor:, circleFilled:, and polygon: methods.
TrafficLight
setFillColor:
circleFilled:
polygon: