Skip to content

RepairState beta ​

Interface of @v12-engine/engine

ts
export interface RepairState

What repair keeps: whether it walked to it already, what of the cost it still owes, the seconds to its next swing

Members ​

hammer ​

ts
hammer?: number;

Seconds to its next swing

owed ​

ts
owed?: Cost;

What of the cost of the repair it owes still

walked ​

ts
walked?: boolean;

It walked to it already