예제 #1
0
        public override void PressSwitch(LightContext light)
        {
            Console.WriteLine("turn off the light");

            light.State = new LightOff();
        }
예제 #2
0
 public abstract void PressSwitch(LightContext light);