Skip to content

AttackPlan beta ​

Interface of @v12-engine/engine/ai

ts
export interface AttackPlan

An attack the computers of a team agree on (together): where, when, who proposed it, who joined and who did not

Members ​

at ​

ts
at: number;

The tick the waves go at

by ​

ts
by: PlayerId;

The player who proposed the attack

declined ​

ts
declined: PlayerId[];

The computers that declined it

joined ​

ts
joined: PlayerId[];

The computers that joined the attack

since ​

ts
since: number;

The tick it was proposed at

target ​

ts
target: Vec2;

Where the attack goes, in cells