Skip to content

Aiming beta ​

Interface of @v12-engine/engine

ts
export interface Aiming

What a unit aims as it goes, told to its owner (whose pointer aims it): an ability it holds to charge (held: the seconds held), or one it channels aimed (AbilityDef.channel.aimed, no held); where it was last aimed

Members ​

ability ​

ts
ability: string;

The ability

held ​

ts
held?: number;

Seconds it has been held, for one held to charge: none for a channel

level ​

ts
level: number;

The level it is cast at

point ​

ts
point?: Vec2;

Where it was last aimed