コード例 #1
0
ファイル: DebugScreen.cs プロジェクト: Anttifer/Jypeli
        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
ファイル: Program.cs プロジェクト: m133solomon/jack-engine-cs
 protected override void Draw()
 {
     DebugLayer.Draw(SpriteBatch);
 }