Skip to content

ThreatCell beta ​

Interface of @v12-engine/engine/ai

ts
export interface ThreatCell extends Threat

A cell of the threat map with what it reads (ThreatMap.hot, cells)

Members ​

at ​

ts
at: Vec2;

The middle of the cell

col ​

ts
col: number;

The cell's column on the grid, counted from 0

row ​

ts
row: number;

The cell's row on the grid, counted from 0