Assignment3.TrafficLight.TrafficLight C# (CSharp) 메소드

TrafficLight() 공개 메소드

public TrafficLight ( ) : System
리턴 System
    public TrafficLight()
    {
      color = Color.Green;
      toNextLight = new Timer(new FromGreenToYellow(this), 6.0f);
    }
    class FromGreenToYellow : Event