Skip to content

ClipTurns beta ​

Class of @v12-engine/client

ts
export declare class ClipTurns

The clips a unit has played of each of its looks' lists, by what the list is of (attack:0, cast:fireball): the place of the last of each, for the next to take its turn (nextClip). One for each unit drawn

Members ​

pick ​

ts
pick(key: string, clips: readonly string[], order?: ClipOrder, random?: number): string | undefined;

The clip of a list to play now, by what the list is of: in its turn or at random, never the last again