private void Eat(IEdible food) { Console.WriteLine("Eating {0}", food.GetType().Name); hunger -= food.NutritionValue; }
private void Eat(IEdible food) { BearIs(string.Format("eating {0}", food.GetType().Name)); hunger -= food.NutritionValue; }