Skip to content

five-on-it / packages/sim/src/fire / blastAt

Function: blastAt() ​

blastAt(sim, at, size, by): void

Defined in: packages/sim/src/fire.ts:205

A blast that is no car's (a bomb going off, a mission's explode: devices.ts): the blast at a point, as big as size, by the client by, and the cars in its reach set alight as a car's blast sets them.

Parameters ​

sim ​

SimWorld

at ​

x ​

number

y ​

number

z ​

number

size ​

BlastSize

by ​

number

Returns ​

void