public void Update(GameTime gameTime) { if (Health.Current <= 0) { DeathStrategy.Die(this); } }
public void SetDeathStrategy(DeathStrategy deathStrategy) { this.deathStrategy = deathStrategy; }
public void Update(GameTime gameTime) { if (Health.Current <= 0) { DeathStrategy.Die(this); } }
public void SetDeathStrategy(DeathStrategy deathStrategy) { this.deathStrategy = deathStrategy; }