public void Damaged(float damage) { if (Health > 0) { state.Damaged(damage); if (Health < 0) { PlayerDeathEvent?.Invoke(); } } }