WavesOptions beta
Interface of @v12-engine/engine/ai
ts
export interface WavesOptionsHow a brain sends its waves (BrainDef.waves; the seat's AiOptions.waves and groups, the data of it, go over)
Members
groups
ts
groups?: AttackGroup[];The groups waves are made of, by name
priority
ts
priority?: number;How important a wave's units are to the purse, as wants: 30 when left out (under a hall, a barracks, a hero)
train
ts
train?: boolean;Whether a wave's group is trained (wants of the production plan): yes when left out. No for units that are given (a lanes game)
waves
ts
waves?: AttackWave[] | ((ai: Brain, index: number) => AttackWave | undefined);The waves, in order, or a function giving the wave whose turn it is (by its index), none for no more