Example #1
0
        protected override void Draw(GameTime gameTime)
        {
            GraphicsDevice.Clear(Color.Black);

            spriteBatch.Begin();

            // Views .Draw(spriteBatch)
            tileView.Draw(spriteBatch);
            playerView.Draw(spriteBatch);
            playerViewGrid.Draw(spriteBatch);
            playerViewText.Draw(spriteBatch);
            ballView.Draw(spriteBatch);

            spriteBatch.End();

            base.Draw(gameTime);
        }