public override void PressSwitch(LightContext light) { Console.WriteLine("turn off the light"); light.State = new LightOff(); }
public abstract void PressSwitch(LightContext light);