public override void SetDamage(float damage, MathOfUnits.AttackType typeAttack) { _HP = _mathOfUnits.MinusHP(_HP, _DEF, damage, typeAttack); if (_HP == 0) { Death(); } }
public abstract void SetDamage(float damage, MathOfUnits.AttackType attackType);