Exemplo n.º 1
0
        private void DrawDebugScreen()
        {
            if (!DebugScreenVisible)
            {
                return;
            }

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

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