ConstructionState beta
Interface of @v12-engine/engine
ts
export interface ConstructionStateHow far a building under construction has got
Members
builders
ts
builders: number;Builders that worked on it during the current tick
buildTime
ts
buildTime: number;Seconds a single builder needs to finish it
paid
ts
paid?: Cost;What was paid for it, when that is not what its type costs. A cancelled site gives part of this back
progress
ts
progress: number;0..1