public OverDamageUnit desroy() { isDestroyed = true; var overDamage = new OverDamageUnit(ref this); durability = 0.0f; terminateDamage(); terminateRecovery(); return(overDamage); }
public void applyOverDamage(ref OverDamageUnit od) { _applyDamage(od.damage, od.damageRemaningTime, od.recoverable, od.recoverableRemaningTime); }