Beispiel #1
0
        public void ReceiveDamage(CombatAction combatAction)
        {
            var damageAction = combatAction as DamageAction;

            HealthPoint.Minus(damageAction.DamageValue);
            CallAction(CombatActionType.CauseDamage, combatAction);
        }
Beispiel #2
0
 public void Initialize()
 {
     NumericBox.Initialize();
     ActionTrigger.Initialize();
     HealthPoint.SetMaxValue(99_999);
     HealthPoint.Reset();
 }
Beispiel #3
0
 public void ReceiveCure(int cure)
 {
     HealthPoint.Add(cure);
 }
Beispiel #4
0
        public void ReceiveCure(CombatOperation combatOperation)
        {
            var cureOperation = combatOperation as CureOperation;

            HealthPoint.Add(cureOperation.CureValue);
        }
Beispiel #5
0
        public void ReceiveDamage(CombatOperation combatOperation)
        {
            var damageOperation = combatOperation as DamageOperation;

            HealthPoint.Minus(damageOperation.DamageValue);
        }