Skip to content

AiDecision beta ​

Interface of @v12-engine/engine/ai

ts
export interface AiDecision

One thing a computer player decided, as a line of text: what it did and the reason that weighed most

Members ​

goal ​

ts
goal?: string;

The goal it is about, where it is about one

kind ​

ts
kind: string;

What it is about: goal for the goals' picker, or the module's word (army, build, research, hero)

line ​

ts
line: string;

What was decided, in words: "attack picked at 0.80 (8 units): its time has come 1.00 · the wave is ready 1.00"

tick ​

ts
tick: number;

The tick of the think it was decided at