Skip to content

five-on-it / packages/sim/src/devices / powerCut

Function: powerCut() ​

powerCut(sim, x, z): boolean

Defined in: packages/sim/src/devices.ts:372

Whether a fuse box's power is cut over a point: any box off within its reach (the client darkens the lamps there).

Parameters ​

sim ​

SimWorld

x ​

number

z ​

number

Returns ​

boolean