Skip to content

QueueItemState beta ​

Interface of @v12-engine/engine

ts
export interface QueueItemState

An item in a building's production queue, as the screen is told of it

Members ​

id ​

ts
id: string;

The id of the unit type, upgrade or hero the item makes

kind ​

ts
kind: 'unit' | 'upgrade' | 'revive' | 'morph';

What the item is: a unit being trained, an upgrade researched, a hero revived or a morph into another type

progress ​

ts
progress: number;

0..1