Exemple #1
0
 /// <summary>
 /// Adds an effect.
 /// </summary>
 /// <param name="effect">The effect.</param>
 public void AddEffect(Effect effect)
 {
     //  Add the effect.
     effects.Add(effect);
 }
Exemple #2
0
 /// <summary>
 /// Removes the effect.
 /// </summary>
 /// <param name="effect">The effect.</param>
 public void RemoveEffect(Effect effect)
 {
     //  Remove the effect.
     effects.Remove(effect);
 }