Skip to content

ThreatQuery beta ​

Interface of @v12-engine/engine/ai

ts
export interface ThreatQuery

What a read of the map is for: the layer the thing asked about is on (ground when left out: what can reach things on the ground), and whether the enemy structures remembered and out of sight count too (a tower seen before)

Members ​

layer ​

ts
layer?: Layer;

The layer the thing asked about is on; ground when left out

remembered ​

ts
remembered?: boolean;

Whether enemy structures remembered but out of sight count too