Skip to content

DeathSeen beta ​

Interface of @v12-engine/engine/ai

ts
export interface DeathSeen

A death seen (events.deaths): of anyone known to the seat in the think before

Members ​

at ​

ts
at: Vec2;

Where it died, in cells

by ​

ts
by?: string;

The unit type id of what killed it, when it was seen

id ​

ts
id: number;

The entity id of what died

owner ​

ts
owner: PlayerId;

The player whose it was

tick ​

ts
tick: number;

The tick the death was seen in

type ​

ts
type: string;

The unit type id of what died