public void TakeDamage(int damage) { damaged = true; enemy.TakeDamage(damage); //enemyAudio.Play(); dead = enemy.isDead(); if (dead) { Death(); } }