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

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

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