Skip to content

five-on-it / packages/sim/src/flyers / FlyerLight

Interface: FlyerLight ​

Defined in: packages/sim/src/flyers.ts:65

A flyer's searchlight: its own hit points (spent before the flyer's, damage.ts), how far from under the flyer its pool of light reaches over the ground, how fast the pool swings to where it is pointed, and how wide the pool is.

Properties ​

health ​

health: number

Defined in: packages/sim/src/flyers.ts:67

Its hit points (1 to 255): what shoots it out.


radius ​

radius: number

Defined in: packages/sim/src/flyers.ts:73

The pool's radius on the ground (m): whoever stands in it is lit.


reach ​

reach: number

Defined in: packages/sim/src/flyers.ts:69

How far from under the flyer the pool can be (m, over the ground).


slew ​

slew: number

Defined in: packages/sim/src/flyers.ts:71

How fast the pool moves to where it is pointed (m/s).