Exemple #1
0
        public OverDamageUnit desroy()
        {
            isDestroyed = true;


            var overDamage = new OverDamageUnit(ref this);

            durability = 0.0f;

            terminateDamage();

            terminateRecovery();

            return(overDamage);
        }
Exemple #2
0
 public void applyOverDamage(ref OverDamageUnit od)
 {
     _applyDamage(od.damage, od.damageRemaningTime, od.recoverable, od.recoverableRemaningTime);
 }