Skip to content

five-on-it / packages/world/src/nav-layers / buildNavLayers

Function: buildNavLayers() ​

buildNavLayers(level, options?): NavLayers

Defined in: packages/world/src/nav-layers.ts:348

Builds the layered navigation of a level: its grid (with the same options) and the floors over it, each blocked and near a wall as the grid's cells are, and the edge heights of every node (see the module documentation).

Parameters ​

level ​

LevelData

options? ​

NavGridOptions = {}

Returns ​

NavLayers