public override void Draw(SpriteBatch spriteBatch) { _game.GraphicsDevice.Clear(Color.Black); spriteBatch.Begin(sortMode: SpriteSortMode.FrontToBack); _entityManager.Draw(spriteBatch); _levelManager.Draw(spriteBatch); _healthbar.Draw(spriteBatch); _scoreBoard.Draw(spriteBatch, "Score: " + Score, false); spriteBatch.End(); }
public void Draw() { _levelManager.Draw(); }