public override void Draw(GameTime gameTime) { if (debugDraw) { debugBatch.Begin(SpriteBlendMode.AlphaBlend, SpriteSortMode.Deferred, SaveStateMode.SaveState, Matrix.CreateTranslation(new Vector3((camera.ScreenCentre - camera.Position) * camera.ZoomLevel, 0))); debugView.Draw(debugBatch); debugBatch.End(); } base.Draw(gameTime); }