/// <summary> /// Makes the choosen coffee /// </summary> private void MakeCoffee(int coffeeNumber) { var coffee = _coffeeDL.GetCoffeeById(coffeeNumber); _storeDL.TakeIngridients(coffee); balance -= coffee.Price; var coffeeToMake = _coffeeFactory.Create(coffeeNumber); Console.ForegroundColor = ConsoleColor.DarkYellow; coffeeToMake.Make(); Console.ForegroundColor = ConsoleColor.White; Thread.Sleep(2000); Console.ForegroundColor = ConsoleColor.Green; coffeeToMake.Take(); Console.ForegroundColor = ConsoleColor.White; }