five-on-it / apps/client/src/renderer/wheel-effects / CarView
Interface: CarView
Defined in: apps/client/src/renderer/wheel-effects.ts:18
A car on screen this frame.
Properties
bullBar?
optionalbullBar?:boolean
Defined in: apps/client/src/renderer/wheel-effects.ts:49
It is fitted with a bull bar (armour-view.ts draws it across its nose).
burning?
optionalburning?:boolean
Defined in: apps/client/src/renderer/wheel-effects.ts:32
It is on fire, before or after it blew up (vehicle-fire.ts draws the flames).
exploded?
optionalexploded?:boolean
Defined in: apps/client/src/renderer/wheel-effects.ts:34
It blew up: a wreck burning all over while it burns.
grappler?
optionalgrappler?:boolean
Defined in: apps/client/src/renderer/wheel-effects.ts:53
A police cruiser with the Grappler's bumper net (fittings-view.ts draws the net on its nose).
health?
optionalhealth?:number
Defined in: apps/client/src/renderer/wheel-effects.ts:30
Its hit points: a car low on them smokes (vehicle-fire.ts).
hooked?
optionalhooked?:boolean
Defined in: apps/client/src/renderer/wheel-effects.ts:55
A Grappler's net holds it by a rear wheel (fittings-view.ts draws the cable to the cruiser).
id
id:
string
Defined in: apps/client/src/renderer/wheel-effects.ts:20
A key that stays the same while the car is on screen (its server entity id; a trailer's own).
inWater?
optionalinWater?:boolean
Defined in: apps/client/src/renderer/wheel-effects.ts:39
Its body sits in water (@foi/sim's vehicleInWater: wading deep, afloat, flooded or sunk): it neither smokes nor burns there (wreck-smoke.ts, vehicle-fire.ts fade it out).
jet?
optionaljet?:number
Defined in: apps/client/src/renderer/wheel-effects.ts:45
Its water jet sprays, at this heading (rad; armour-view.ts draws the stream).
lights?
optionallights?:boolean
Defined in: apps/client/src/renderer/wheel-effects.ts:43
It drives with its lights on at night: somebody drives it (it is not parked) and it is no wreck (car-lights.ts).
motion
motion:
CarMotion
Defined in: apps/client/src/renderer/wheel-effects.ts:26
Its motion, as drawn.
nitro?
optionalnitro?:boolean
Defined in: apps/client/src/renderer/wheel-effects.ts:47
It burns a nitro charge (armour-view.ts draws the exhaust's flame).
tracked?
optionaltracked?:boolean
Defined in: apps/client/src/renderer/wheel-effects.ts:51
A police GPS tag is stuck on it (fittings-view.ts blinks a beacon on its rear bumper).
trailer
trailer:
boolean
Defined in: apps/client/src/renderer/wheel-effects.ts:24
It is the class's trailer, not the tractor.
tyres?
optionaltyres?:number
Defined in: apps/client/src/renderer/wheel-effects.ts:41
Its flat tyres, bit i the simulation's wheel i (flat-tyres.ts pops and sparks them).
vc
vc:
VehicleClass
Defined in: apps/client/src/renderer/wheel-effects.ts:22
Its class.
wrecked?
optionalwrecked?:boolean
Defined in: apps/client/src/renderer/wheel-effects.ts:28
It is a wreck (wreck-smoke.ts smokes it).