public override void Hungry() { IAmHungry? .Invoke(this, new HungryEventArgs { FoodAmount = 10, IsMeatEater = false }); }
public void OnHungry(int count) { IAmHungry?.Invoke(this, new HungryEventArgs { IsMeat = false, CountFood = count }); }