예제 #1
0
파일: Entity.cs 프로젝트: Elijahmon/CardRPG
 public virtual void ApplyEffect(Enums.AppliedEffect effectType, int amount)
 {
     if (appliedEffects.ContainsKey(effectType) == true)
     {
         appliedEffects[effectType] += amount;
     }
     else
     {
         appliedEffects.Add(effectType, amount);
     }
 }
예제 #2
0
 public override void ApplyEffect(Enums.AppliedEffect effectType, int amount)
 {
     base.ApplyEffect(effectType, amount);
     //TODO: UI For player effects
 }
예제 #3
0
    public override void ApplyEffect(Enums.AppliedEffect effectType, int amount)
    {
        base.ApplyEffect(effectType, amount);

        myUIController.UpdateActiveEffects(appliedEffects);
    }