public override void Visit(DogAnimal animal) { Steps.Add(animal.MoveHeadStepName); Steps.Add(animal.WagTailStepName); Steps.Add(animal.OpenMouthStepName); Steps.Add(animal.CloseMouthStepName); }
public abstract void Visit(DogAnimal animal);