Exemple #1
0
 internal void DebugDrawInternal(DebugDrawer drawer)
 {
     for (int i = _objects.Count - 1; i >= 0; i--)
     {
         _objects[i].DebugDrawInternal(drawer);
     }
     DebugDraw(drawer);
 }
Exemple #2
0
 protected override void LoadContent()
 {
     UpdateRenderTarget();
     _pixel = new Texture2D(GraphicsDevice, 1, 1, false, SurfaceFormat.Color);
     _pixel.SetData(new Color[] { Color.White });
     _spriteBatch = new SpriteBatch(GraphicsDevice);
     _debugDrawer = new DebugDrawer(GraphicsDevice);
 }
Exemple #3
0
 protected virtual void DebugDraw(DebugDrawer drawer)
 {
 }
Exemple #4
0
 internal void DebugDrawInternal(DebugDrawer drawer)
 {
     DebugDraw(drawer);
 }
Exemple #5
0
 public virtual void DebugDraw(DebugDrawer drawer)
 {
 }