Skip to content

PingWheelItem beta ​

Interface of @v12-engine/client

ts
export interface PingWheelItem

An item of the wheel as it is now: its def, its slot, where it is from the middle (pixels), and whether it may be sent (its cooldown)

Members ​

angle ​

ts
angle: number;

Radians, 0 to the right and the screen's way round (clockwise): the first slot is up

def ​

ts
def: PingDef;

The kind on this item

ready ​

ts
ready: boolean;

Whether it may be sent now: off its cooldown and let go by the rules (greyed when not)

slot ​

ts
slot: number;

Its place on the ring: 0 is up, clockwise

x ​

ts
x: number;

Pixels from the wheel's middle, to the right

y ​

ts
y: number;

Pixels from the wheel's middle, down