Skip to content

five-on-it / apps/client/src/renderer/occluders / findOccluders

Function: findOccluders() ​

findOccluders(level, roofs?): Occluder[]

Defined in: apps/client/src/renderer/occluders.ts:146

The level's buildings that may hide the car: those at least OCCLUDERS.minHeight tall, a walk-in building's storeys (the roofs standing on its footprint) counted.

Parameters ​

level ​

LevelData

roofs? ​

readonly RoofOf[] = []

Returns ​

Occluder[]