Optionalbuildbuild the grid yourself instead, from whatever the level holds; return null for a level with nothing to find a way across
Optionalcontainerwhere the level is loaded
Optionallayerthe name of the tile layer to build the grid from (see Grid.fromTileLayer). Without it, the grid is built from the level's collision shapes (see Grid.fromBodies).
Optionalsolidwhether a cell is solid, from the tile in it (null for an empty cell)
OptionalsubdivideFor the grid built from the collision shapes (no layer, no
build): cut each tile into this many cells along each side, a whole
number of 1 or more. Finer cells follow walls that do not keep to the
tiles: a doorway narrower than a tile, between walls standing part of
a tile deep, is closed on a grid of whole tiles and open on one of
quarter tiles (subdivide: 4). A search crosses that many times more
cells, the square of it in all.
Optionalweightwhat entering a cell costs, 1 or more
Optionalxwhere the layer's top left corner is in the world
Optionaly
how PathfindingPlugin builds the grid of each level