public void InsertQuarter() { Console.WriteLine("You inserted a quarter."); _gumballMachine.SetState(_gumballMachine.GetHasQuarterState()); }
public void InsertQuarter() { view.DisplayMessage("You inserted a quarter."); gumballMachine.SetState(gumballMachine.GetHasQuarterState()); }
public void InsertQuarter() { System.Console.WriteLine("You inserted a quarter"); gumballMachine.SetState(gumballMachine.GetHasQuarterState()); }
public override void InsertQuarter() { Console.WriteLine("You inserted a quarter"); GumballMachine.SetState(GumballMachine.GetHasQuarterState()); }