blockByDoodads beta
Function of @v12-engine/engine
ts
export declare function blockByDoodads(map: Pick<GameMap, 'doodads' | 'width' | 'depth' | 'pathing'>, terrain: Terrain, area?: CellRect): void;What the doodads of a map keep off its cells, and what is kept off them by hand (GameMap.pathing), into the terrain (Terrain.blocked): the most any of them keeps off. With area (cells), there alone: what the layers changed there (a brush's step), the doodads elsewhere as they were; the whole map where a doodad itself changed