public void Draw(GameTime gameTime, bool offFrame) { if (!offFrame && (!Paused || FrameAdvanced)) { FrameAdvanced = false; Renderer.Draw(); } else { Renderer.RedrawPreviousFrame(); } // Save a screenshot if F12 is pressed UpdateScreenshot(); #if DEBUG && (__MOBILE__ || GET_FPS) // Draw frame rate in debug mode on mobile Renderer.DrawMobileFps(CurrentFrameRate); #endif }