DefenceMemory beta
Interface of @v12-engine/engine/ai
ts
export interface DefenceMemoryWhat the defence remembers between thinks, as a save keeps it: each base's raids
Members
raids
ts
raids: Record<string, {
at: Vec2;
count: number;
since?: number;
last: number;
most: number;
}>;By base (the id of what it is around): where, how many raids, the one on now (since when), when last seen, the strongest
v
ts
v: 1;The version of the memory's format: 1 so far