Skip to content

CastAim beta ​

Interface of @v12-engine/engine

ts
export interface CastAim

How an ability was aimed, as its order carries it: the unit, the point, and for two points (vector) where it goes from the point (to)

Members ​

level ​

ts
level: number;

The ability's level

point ​

ts
point?: Vec2;

The ground point it was aimed at, or the first point of a two-point ability

target ​

ts
target?: Entity;

The unit the ability was aimed at, for a unit-aimed ability

to ​

ts
to?: Vec2;

For two points: the second, the way it goes from point