Skip to content

CastAimed beta ​

Interface of @v12-engine/engine

ts
export interface CastAimed

Where an ability's effects go, from how it was aimed (Targeting.aim): their point, the unit they are for, and what they go off from when not the caster (EffectContext.origin)

Members ​

origin ​

ts
origin?: Entity | Vec2;

What the effects go off from when it is not the caster: an entity or a point

point ​

ts
point?: Vec2;

Where the effects go, in world coordinates

target ​

ts
target?: Entity;

The unit the effects are for