Example #1
0
 internal void AddStatusEffect(ElementalBuff elementalBuff)
 {
     if (StatusEffects.FindAll(delegate(StatusEffect se) { return(se is ElementalBuff); }).Count == 0)
     {
         StatusEffects.Add(elementalBuff);
     }
     //elementalBuff.Draw(this);
 }
Example #2
0
 internal void AddStatusEffect(ElementalBuff elementalBuff)
 {
     if (StatusEffects.FindAll(delegate(StatusEffect se) { return se is ElementalBuff; }).Count == 0)
         StatusEffects.Add(elementalBuff);
     //elementalBuff.Draw(this);
 }