HarvesterState beta
Interface of @v12-engine/engine
ts
export interface HarvesterStateWhat a worker keeps of its gathering: what it carries and where it gathered
Members
carrying
ts
carrying: number;How much of the resource the worker carries
kind
ts
kind: ResourceId | null;What it is that the worker carries, or last gathered. Null for one that has not gathered anything yet
resource
ts
resource: EntityId;Last resource this worker gathered from