public void Draw(GameTime gameTime) { //draw current page BeatShift.graphics.GraphicsDevice.BlendState = BlendState.AlphaBlend; BeatShift.graphics.GraphicsDevice.Viewport = Viewports.fullViewport; Rectangle viewArea = new Rectangle(0, 0, BeatShift.graphics.GraphicsDevice.Viewport.Width, BeatShift.graphics.GraphicsDevice.Viewport.Height); BeatShift.spriteBatch.Begin(); //Draw background if DrawBackground boolean not overridden. if (DrawBackground) { BeatShift.spriteBatch.Draw(GameTextures.MenuBackgroundBlue, viewArea, Color.White); } currentPage.Draw(viewArea); BeatShift.spriteBatch.End(); currentPage.otherDraw(); //Return display State BeatShift.graphics.GraphicsDevice.BlendState = BlendState.Opaque; }