Skip to content

CastChannel beta ​

Interface of @v12-engine/engine

ts
export interface CastChannel

An ability being channelled, kept in the cast order (CastState.channel)

Members ​

ability ​

ts
ability: string;

The ability, and its level

done ​

ts
done?: boolean;

Over: kept up to its end, or broken off

elapsed ​

ts
elapsed: number;

Seconds the channel has already gone on

left ​

ts
left: number;

Seconds still to go, and gone

level ​

ts
level: number;

The level of the ability being channelled

point ​

ts
point: Vec2;

The world point the channel is aimed at (the target's position, or the point cast at)

target ​

ts
target?: number;

What it is aimed at, and where