public void Accept(AbilityVisitor visitor) { foreach (Ability ability in this.Abilities) { ability.Accept(visitor); } }
public virtual void Accept(AbilityVisitor visitor) => visitor.Visit(this);
public void Accept(AbilityVisitor visitor) { foreach (Ability ability in this.Abilities) { ability.Accept(visitor); } }
public virtual void Accept(AbilityVisitor visitor) => visitor.Visit(this);