PingWheelState beta
Interface of @v12-engine/client
ts
export interface PingWheelStateThe wheel while it is open: where (pixels of the view) and over which spot of the map, its items, the one picked, where the pointer is from the middle
Members
at
ts
at: {
x: number;
y: number;
};Where the wheel's middle is, in pixels of the view
ground
ts
ground: Vec2;The spot of the map a ping sent from it marks
hovered
ts
hovered: string | null;The id of the kind picked now: null inside the dead zone
items
ts
items: readonly PingWheelItem[];The kinds on the ring, with their places
pointer
ts
pointer: {
x: number;
y: number;
};Where the pointer is from the middle, in pixels