Skip to content

ProductionInfo beta ​

Interface of @v12-engine/engine

ts
export interface ProductionInfo

What a building's owner and their allies are told of what it makes (productionQueue's snapshot): its queue and where what comes out goes; and everyone who sees it, how far it is in turning into another type

Members ​

queue ​

ts
queue?: QueueItemState[];

What it makes, the first being made: for its owner and their allies

rally ​

ts
rally?: Vec2;

Where what it makes goes once out: for its owner and their allies

upgrade ​

ts
upgrade?: number;

0..1 while it turns into another type (upgradeTo, UnitTypeDef.upgradesTo): what every player who sees it sees

upgradeTo ​

ts
upgradeTo?: string;

The type it turns into, while it does