Skip to content

Loss beta ​

Interface of @v12-engine/engine/ai

ts
export interface Loss

Something of one's own that died (own.lost): what, where, when, to what type of killer where it was seen

Members ​

at ​

ts
at: Vec2;

Where it died, in cells

by ​

ts
by?: string;

The unit type id of its killer, when it was seen

id ​

ts
id: number;

The entity id of what died

tick ​

ts
tick: number;

The tick it died at

type ​

ts
type: string;

The unit type id of what died