BuildPlanMemory beta
Interface of @v12-engine/engine/ai
ts
export interface BuildPlanMemoryWhat the build plan remembers between thinks, for a save: each want's memory, and the wants added as the game went that are plain data (a rule's), to have them again
Members
added
ts
added?: number;The order the next want added gets: kept, so that a loaded game ranks the wants it adds as the game saved did
saving
ts
saving?: string;The want saving up as of the last think (savingFor): what a loaded game reads until it thinks again
v
ts
v: 1;The version of the memory's format: 1 so far
wants
ts
wants: {
id: string;
memory: WantMemory;
data?: WantData;
}[];Each want by id with its memory, and its data where the want is plain data (a rule's)