Alert beta
Interface of @v12-engine/client
ts
export interface AlertSomething of the player's under attack
Members
at
ts
at: number;When, performance.now()
entity
ts
entity: EntityView;What was hit
kind
ts
kind: AlertKind;What was hit: base for a building, hero for a hero, forces for any other unit
x
ts
x: number;Where the hit was, x in cells
z
ts
z: number;Where the hit was, z in cells