Skip to content

Moved beta ​

Interface of @v12-engine/engine

ts
export interface Moved

Someone moved by a dash or a knockback of the moves pack while it rushes (dashing): in whose name (by), by which effect, after whom (chase), whom it met already (met) and the ground it set off from (floor), above which is a wall to it

Members ​

ability ​

ts
ability: string;

The ability that moved it

by ​

ts
by: EntityId;

In whose name what it meets and the wall happen: who dashed, or who threw it

chase ​

ts
chase?: EntityId;

The unit it rushes after, to its edge (to: 'target')

effect ​

ts
effect: EffectDef;

The dash or knockback that moved it, whose collide, stops and onWall it goes by

floor ​

ts
floor: number;

The level of the ground it set off from: higher ground is a wall to it

level ​

ts
level: number;

The level it was cast at

met ​

ts
met?: EntityId[];

Whom it met already, each once