public override void Create(Chocolate chocolate) { if (chocolate.MainIngredienet == "milk") { Console.WriteLine("Milka Created - {0}", chocolate.ListIngredients()); } else if (this.Maker != null) { this.Maker.Create(chocolate); } }
public override void Create(Chocolate chocolate) { Console.WriteLine("Random Svoge Created - {0}, enjoy!", chocolate.ListIngredients()); }