Skip to content

Cost beta ​

TypeAlias of @v12-engine/engine

ts
export type Cost = Record<ResourceId, number>;

What something costs: an amount of each resource it takes, by resource id. What is left out costs nothing