Skip to content

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

Function: isBurning() ​

isBurning(sim, car): boolean

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

Whether a vehicle is on fire: burning toward its blast, or blown up and still burning.

Parameters ​

sim ​

SimWorld

car ​

number

Returns ​

boolean