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

Perform() 공개 메소드

public Perform ( ) : void
리턴 void
      public void Perform()
      {
        context.color = Color.Red;
        context.toNextLight = new Timer(new FromRedToGreen(context), 10.0f);
      }
    }
TrafficLight.FromYellowToRed