public virtual void ApplyEffect(Enums.AppliedEffect effectType, int amount) { if (appliedEffects.ContainsKey(effectType) == true) { appliedEffects[effectType] += amount; } else { appliedEffects.Add(effectType, amount); } }
public override void ApplyEffect(Enums.AppliedEffect effectType, int amount) { base.ApplyEffect(effectType, amount); //TODO: UI For player effects }
public override void ApplyEffect(Enums.AppliedEffect effectType, int amount) { base.ApplyEffect(effectType, amount); myUIController.UpdateActiveEffects(appliedEffects); }