public void Toggle(ModeSwitch modeSwitch) { Console.WriteLine("FROM DARK TO LIGTH"); modeSwitch.SetState(new ModeStateLight()); }
public void Toggle(ModeSwitch modeSwitch) { Console.WriteLine("FROM LIGHT TO DARK"); modeSwitch.SetState(new ModeStateDark()); }