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