public virtual void Push(ButtonMachine button) { button.SetState(OFF.GetInstance()); Console.WriteLine("\tturning OFF"); }
public override void Push(ButtonMachine button) { button.SetState(ON.GetInstance()); Console.WriteLine("\tturning ON"); }
public virtual void Push(ButtonMachine button) { button.SetState(OFF.GetInstance()); Console.WriteLine("\tturning OFF"); }
public override void Push(ButtonMachine button) { button.SetState(ON.GetInstance()); Console.WriteLine("\tturning ON"); }