public override void ReactTo(Supplement otherSupplement) { if (otherSupplement is WeaponrySkill) { this.hasEffect = true; } }
public override void ReactTo(Supplement otherSupplement) { if (otherSupplement is InfestationSpores) { this.hasEffect = false; } }
public virtual void AddSupplement(Supplement newSupplement) { foreach (var supplement in this.supplements) { newSupplement.ReactTo(supplement); } this.supplements.Add(newSupplement); }
public virtual void ReactTo(Supplement otherSupplement) { }