public void TakeDamage(int damage) { LivePoints = LivePoints -= damage; if (LivePoints <= 0) { IsDead = true; Menu.MenuSelector("Defeat"); } }
public void TakeDamage(int damage) { LivePoints = LivePoints -= damage; if (LivePoints <= 0) { IsDead = true; Menu.MenuSelector("Defeat"); } }