public override void Update(GameTime gameTime) { _barComponent.Update(_currentHealth, position); if (_currentHealth <= 0) { Destroy(); } }
public override void Update(GameTime gameTime) { _barComponent.Update(_currentHealth, position); if (_currentHealth <= 0) { Destroy(); } }