예제 #1
0
 public override void ReactTo(Supplement otherSupplement)
 {
     if (otherSupplement is WeaponrySkill)
     {
         this.hasEffect = true;
     }
 }
예제 #2
0
 public override void ReactTo(Supplement otherSupplement)
 {
     if (otherSupplement is InfestationSpores)
     {
         this.hasEffect = false;
     }
 }
예제 #3
0
        public virtual void AddSupplement(Supplement newSupplement)
        {
            foreach (var supplement in this.supplements)
            {
                newSupplement.ReactTo(supplement);
            }

            this.supplements.Add(newSupplement);
        }
예제 #4
0
 public virtual void ReactTo(Supplement otherSupplement)
 {
 }