-
debugDraw(Canvas canvas, {Vec2? position, AABB? cullArea, List<Color> palette = const [Color(0xFFFFB74D), Color(0xFF64B5F6), Color(0xFF81C784), Color(0xFFE57373), Color(0xFFBA68C8), Color(0xFF4DD0E1), Color(0xFFFFD54F), Color(0xFFA1887F)]})
→ void
-
Available on Grid<int>,
provided by the IntGridX extension
Draws the grid data as colored rects. Tiles with a value smaller than 0 are skipped.
-
draw(Canvas canvas, TileMap tileMap, {Vec2? position, AABB? cullArea})
→ void
-
Available on Grid<int>,
provided by the IntGridX extension
-
forEachDrawArea({required void visit(double screenX, double screenY, int tile), Vec2? position, AABB? cullArea})
→ void
-
Available on Grid<int>,
provided by the IntGridX extension
-
toJson1d()
→ String
-
Available on Grid<int>,
provided by the IntGridX extension
-
toJson2d()
→ String
-
Available on Grid<int>,
provided by the IntGridX extension