Skip to content

five-on-it / apps/client/src/renderer/drone-view / DroneShown

Interface: DroneShown ​

Defined in: apps/client/src/renderer/drone-view.ts:46

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

Properties ​

cls ​

cls: string

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

Its class's name (FLYER_CLASSES: the police drone, a swarm drone, a scout drone).


dive ​

dive: number

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

How far into a dive it is (ticks, a swarm drone's taser winding up; 0 none).


eid ​

eid: number

Defined in: apps/client/src/renderer/drone-view.ts:47


health ​

health: number

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


owner ​

owner: number

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

The client id of the player whose it is (a scout drone's); 0 nobody's.


police ​

police: boolean

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


state ​

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

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


x ​

x: number

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


y ​

y: number

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


z ​

z: number

Defined in: apps/client/src/renderer/drone-view.ts:50