public void TakeDamage(float damage) { if (_health == null) { return; } _health.TakeDamage(damage); if (IsDead()) { _fighter.Die(); } }
public void TakeDamage(float damage) { if (_health == null) { return; } _health.TakeDamage(damage); if (IsDead()) { _fighter.Die(); } }