Skip to content

five-on-it / apps/client/src/renderer/vehicle-fire / smokeOf

Function: smokeOf() ​

smokeOf(health): object

Defined in: apps/client/src/renderer/vehicle-fire.ts:42

How a car at health hit points smokes: puffs a second (none above SMOKE_HEALTH) and how thick (0 a light grey, 1 black).

Parameters ​

health ​

number

Returns ​

object

rate ​

rate: number

thick ​

thick: number