five-on-it / apps/client/src/renderer/ground-cover / coverCell
Function: coverCell()
coverCell(
level,cx,cz,density,onRoad):CoverCell
Defined in: apps/client/src/renderer/ground-cover.ts:146
The cover of the cell (cx, cz) of a level (see the module documentation), at a share density (0 to 1) of the full; onRoad says where the roads are.
Parameters
level
cx
number
cz
number
density
number
onRoad
(x, z) => boolean