Skip to content

five-on-it / apps/client/src/renderer/heli-view / HeliShown

Interface: HeliShown ​

Defined in: apps/client/src/renderer/heli-view.ts:48

A helicopter as the view draws it now (for the tests' window.__poc()).

Properties ​

eid ​

eid: number

Defined in: apps/client/src/renderer/heli-view.ts:49


health ​

health: number

Defined in: apps/client/src/renderer/heli-view.ts:55


light ​

light: number

Defined in: apps/client/src/renderer/heli-view.ts:57

Its searchlight's hit points (40 whole, 0 shot out).


lightX ​

lightX: number

Defined in: apps/client/src/renderer/heli-view.ts:61

Where the pool's centre is (m); right under it while the light is off.


lightZ ​

lightZ: number

Defined in: apps/client/src/renderer/heli-view.ts:62


lit ​

lit: boolean

Defined in: apps/client/src/renderer/heli-view.ts:59

Its searchlight is on: a pool of light on the ground.


state ​

state: "wreck" | "down" | "flying"

Defined in: apps/client/src/renderer/heli-view.ts:54


x ​

x: number

Defined in: apps/client/src/renderer/heli-view.ts:51

Where it truly is (m): its last snapshot carried on by its velocity, not where it is drawn.


y ​

y: number

Defined in: apps/client/src/renderer/heli-view.ts:52


z ​

z: number

Defined in: apps/client/src/renderer/heli-view.ts:53