Esempio n. 1
0
 /// <summary>
 /// Change colour
 /// </summary>
 /// <param name="state">
 /// State of traffic light
 /// </param>
 public void ChangeColour(TrafficLight state)
 {
     state.State = new GreenColour();
 }