Пример #1
0
 public void EffectExpiration()
 {
     for (int i = 0; i < this.effects.Count; i++)
     {
         IEffect effect = (IEffect)this.effects [i];
         if (effect.IsExpired())
         {
             this.effects.RemoveAt(i);
             CheckStatus();
         }
     }
 }