Skip to content

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

Function: forEachNodeOf() ​

forEachNodeOf(layers, cell, visit): void

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

Calls visit with every node of a cell: its ground first, then its floors from the lowest up.

Parameters ​

layers ​

NavLayers

cell ​

number

visit ​

(node) => void

Returns ​

void