public override void Draw(IDrawDevice device) { if (_humperMap == null) { return; } Canvas canvas = new Canvas(); canvas.Begin(device); _humperMap.DrawDebug(0, 0, Duality.DualityApp.AppData.ForcedRenderSize.X, Duality.DualityApp.AppData.ForcedRenderSize.Y, //DrawCell DrawCell, //DrawBox (box) => { canvas.DrawRect(box.X, -(box.Y + box.Height), -80, box.Width, box.Height); }, //DrawString DrawString); canvas.End(); }