예제 #1
0
        private void SetEjectionCounters()
        {
            CoffeeSlotMachine.GetCounterForEjection(5, out int counter);
            FiveCentInEjection = counter;

            CoffeeSlotMachine.GetCounterForEjection(10, out counter);
            TenCentInEjection = counter;

            CoffeeSlotMachine.GetCounterForEjection(20, out counter);
            TwentyCentInEjection = counter;

            CoffeeSlotMachine.GetCounterForEjection(50, out counter);
            FiftyCentInEjection = counter;

            CoffeeSlotMachine.GetCounterForEjection(100, out counter);
            HundredCentInEjection = counter;

            CoffeeSlotMachine.GetCounterForEjection(200, out counter);
            TwoHundredCentInEjection = counter;
        }