Skip to content

CinematicOptions beta ​

Interface of @v12-engine/engine

ts
export interface CinematicOptions

How a cinematic is played when a rule calls for it: who sees it, whether the game waits and whether it can be skipped

Members ​

hold ​

ts
hold?: boolean;

The game waits while it plays, in single player. False when left out

params ​

ts
params?: Record<string, unknown>;

What the cinematic is handed (Cinematic is given it): what the rules know and the screen does not, like the road of the map being played. Plain data

skippable ​

ts
skippable?: boolean;

The player may skip it. True when left out

to ​

ts
to?: Audience;

Who sees it: a player, some, or everyone. Everyone when left out