Exemple #1
0
        private void DrawDebugScreen()
        {
            if (!DebugScreenVisible)
            {
                return;
            }

            debugCanvas.Begin(ref canvasTransform, Game.Screen);
            PaintDebugScreen(debugCanvas);
            debugCanvas.End();

            DebugLayer.Draw(Camera);
        }
Exemple #2
0
 public static void Draw(this SpriteBatch spriteBatch, GameTime time, DebugLayer grid, Vector2 parralax)
 {
     grid.Draw(time, spriteBatch, parralax);
 }
Exemple #3
0
 public static void Draw(this SpriteBatch spriteBatch, GameTime time, DebugLayer grid)
 {
     grid.Draw(time, spriteBatch, Vector2.One);
 }
Exemple #4
0
 public static void Draw(this SpriteBatch spriteBatch, DebugLayer grid)
 {
     grid.Draw(spriteBatch, Vector2.One);
 }
 protected override void Draw()
 {
     DebugLayer.Draw(SpriteBatch);
 }