public void TakeDam(int amount) { damaged = true; currentHP -= amount; uI.updateHP(currentHP); if (currentHP <= 0 && !isDead) { Death(); } }
// Use this for initialization void Start() { testedBehaviors.newWaveNotification(); testedBehaviors.updateEnemies(69); testedBehaviors.updateHP(18); }