Skip to content

BuildState beta ​

Interface of @v12-engine/engine

ts
export interface BuildState extends WorkState

What build keeps: whether it walked to the site already, and the building once it is put down

Members ​

building ​

ts
building?: EntityId;

The building, once it is put down

ghost ​

ts
ghost?: boolean;

It walks through the others: its walk to the site failed once, held up among them (workers round a mine)

walked ​

ts
walked?: boolean;

It walked to the site already