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

            if (isGame == true)
            {
                world.Draw(spriteBatch);
            }
            else
            {
                spriteBatch.Begin();
                menu.Draw(spriteBatch);
                spriteBatch.End();
            }

            base.Draw(gameTime);
        }