WavesMemory beta
Interface of @v12-engine/engine/ai
ts
export interface WavesMemoryWhat the waves module remembers between thinks, as a save keeps it
Members
entry
ts
entry: number;Where in the list it is (for a list), and how many times the wave there went
index
ts
index: number;The index of the wave whose turn it is: the waves sent and skipped before it
last
ts
last: number;The tick the last wave went at (or was skipped at): what the next one's after counts from
sent
ts
sent: {
index: number;
squad: string;
size: number;
at: Vec2;
tick: number;
}[];The waves sent, the last ten: index, squad, size, target, tick
skipped
ts
skipped: number;How many were skipped, their condition failing
v
ts
v: 1;The version of the memory's format: 1 so far
went
ts
went: number;How many times the wave at the entry has gone