Beispiel #1
0
        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();
        }
Beispiel #2
0
 public void Draw()
 {
     _levelManager.Draw();
 }