Пример #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);
 }