Skip to content

AimView beta ​

Interface of @v12-engine/engine

ts
export interface AimView

What the screen knows as the player aims (Targeting.indicator): the ability and its level, where the caster stands, where the pointer is on the ground, and for two points the first one, once it is given

Members ​

ability ​

ts
ability: AbilityDef;

The ability being aimed

from ​

ts
from: Vec2;

Where the caster stands, in world coordinates

level ​

ts
level: number;

The level of the ability being aimed

pointer ​

ts
pointer?: Vec2;

Where the pointer is on the ground, when it is over the ground

start ​

ts
start?: Vec2;

The first point of a two-point ability once it is given