public void Eat() { movingStrategy.Move(); animalListeners.ForEach(z => { z.onEat(new AnimalEvent(this)); }); }
public void Move() { Console.WriteLine($"{this.name} has moved."); movingStrategy.Move(); }
public void Move() { movingStrategy.Move(); }