Skip to content

HeardEvents beta ​

Class of @v12-engine/engine/ai

ts
export declare class HeardEvents

What a computer player heard (knowledge.events): pings, damage to its own and its allies', deaths, each with its tick, the oldest first

Members ​

constructor ​

ts
constructor(knowledge: Knowledge);

Constructs a new instance of the HeardEvents class

damage ​

ts
damage(withinSeconds?: number): DamageSeen[];

Damage seen done to its own and its allies' entities, a line an entity a think; only within so many seconds where given

deaths ​

ts
deaths(withinSeconds?: number): DeathSeen[];

Deaths seen, anyone's; only within so many seconds where given

pings ​

ts
pings(withinSeconds?: number): PingHeard[];

Pings heard; only within so many seconds where given