KnowledgeReport beta
Interface of @v12-engine/engine/ai
ts
export interface KnowledgeReportWhat a computer player remembers of what it saw, in short, for the report: its rivals' bases and their army as last seen, with how many seconds ago, and the tech seen
Members
army
ts
army: {
at: [number, number];
count: number;
seen: number;
}[];The enemy armies as last seen, each with where, how many fighters and how many seconds ago
bases
ts
bases: {
owner: PlayerId;
at: [number, number];
structures: number;
seen: number;
gone?: true;
}[];The enemy bases known, each with its owner, where, how many structures, how many seconds ago it was seen and whether it is gone
lost
ts
lost: number;How many of its own things were lost
tech
ts
tech: string[];The enemy tech seen: the types of their finished buildings