Ejemplo n.º 1
0
 //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);
 }
Ejemplo n.º 2
0
 public void setStatusEffect(StatusEffect _statusEffect)
 {
     this._statusEffect = _statusEffect;
 }
Ejemplo n.º 3
0
 //Subscribe - adds the specified effect to the _EffectList of the hero
 public void Subscribe(StatusEffect e)
 {
     _EffectList.AddLast(e);
 }