public override void Draw(GameTime gameTime)
        {
            DrawMenuBackground(CONTENT_MANAGER.spriteBatch);

            CONTENT_MANAGER.spriteBatch.Draw(TitleBackground, new Vector2(0, -20), null, Color.White, 0f, Vector2.Zero, 1f, SpriteEffects.None, LayerDepth.BackGround);

            canvas.Draw(CONTENT_MANAGER.spriteBatch);
            CONTENT_MANAGER.ShowFPS(gameTime);
        }
Example #2
0
        protected override void Draw(GameTime gameTime)
        {
            GraphicsDevice.Clear(Color.CornflowerBlue);

            CONTENT_MANAGER.spriteBatch.Begin(SpriteSortMode.FrontToBack, transformMatrix: camera.TransformMatrix);
            {
                SCREEN_MANAGER.Draw(CONTENT_MANAGER.spriteBatch, gameTime);
                //DrawingHelper.Draw(CONTENT_MANAGER.spriteBatch);
                CONTENT_MANAGER.ShowFPS(gameTime);
            }
            CONTENT_MANAGER.spriteBatch.End();

            base.Draw(gameTime);
        }