//Unsubscribe - removes the first effect of that type from the lists (however, because the effects are added last,
 //              the oldest effect will be the first one found through Remove()
 public void Unsubscribe(StatusEffect e)
 {
     _EffectList.Remove(e);
 }
Exemple #2
0
 public void setStatusEffect(StatusEffect _statusEffect)
 {
     this._statusEffect = _statusEffect;
 }
 //Subscribe - adds the specified effect to the _EffectList of the hero
 public void Subscribe(StatusEffect e)
 {
     _EffectList.AddLast(e);
 }