TeamRequest beta
Interface of @v12-engine/engine/ai
ts
export interface TeamRequestSomething one computer of a team asks of the others, on the team's board: help at a place
Members
answered
ts
answered: PlayerId[];The computers that answered it
at
ts
at: Vec2;Where the help is asked, in cells
by
ts
by: 'raid' | 'ping' | 'damage' | 'word';What it came of: a raid on a computer, a person's ping, damage seen done to an ally, a word of the game's
from
ts
from: PlayerId;Who asks: a computer of the team, or a person whose ping or plight it is
id
ts
id: number;Its number on the board
kind
ts
kind: 'help' | 'attack' | 'defend' | 'rally';What is asked: help, an attack, a defence or a rally
strength
ts
strength: number;The enemy strength seen there as it was asked (0 for none seen: a ping on a place)
until
ts
until: number;The tick it is asked until