Skip to content

Look beta ​

Interface of @v12-engine/engine/ai

ts
export interface Look

A place in the plan of looks: where, what kind of place it is, when it was last in sight

Members ​

at ​

ts
at: Vec2;

Where the place is, in cells

due ​

ts
due: boolean;

Whether it is worth a look now

kind ​

ts
kind: 'start' | 'base' | 'expansion' | 'army' | 'game';

Their start not seen yet, their base, a mine they would expand to, where their army was, or a place the game names

since ​

ts
since: number;

Seconds since it was last in sight: Infinity for never