Exemplo n.º 1
0
 internal void DebugDrawInternal(DebugDrawer drawer)
 {
     for (int i = _objects.Count - 1; i >= 0; i--)
     {
         _objects[i].DebugDrawInternal(drawer);
     }
     DebugDraw(drawer);
 }
Exemplo n.º 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);
 }
Exemplo n.º 3
0
 protected virtual void DebugDraw(DebugDrawer drawer)
 {
 }
Exemplo n.º 4
0
 internal void DebugDrawInternal(DebugDrawer drawer)
 {
     DebugDraw(drawer);
 }
Exemplo n.º 5
0
 public virtual void DebugDraw(DebugDrawer drawer)
 {
 }