예제 #1
0
 public bool CanCreatePitcher(Inventory inventory)
 {
     if (inventory.CheckValidAmountCups(cup) && inventory.CheckValidAmountIce(ice) && inventory.CheckValidAmountLemons(lemons) && inventory.CheckValidAmountSugar(sugar))
     {
         return(true);
     }
     else
     {
         Console.WriteLine("You do not have enough supplies.");
     }
     return(false);
 }