Skip to content

MapRegionCinematic beta ​

Interface of @v12-engine/engine

ts
export interface MapRegionCinematic

The cinematic a region of the map plays (MapRegion.cinematic): which, by its id (GameView.cinematics.defs), and who plays it: the engine, as a unit of a player first walks in ('enter', when left out), or the game's own code ('code')

Members ​

id ​

ts
id: string;

The cinematic, by its id: the game's (GameView.cinematics.defs)

play ​

ts
play?: 'enter' | 'code';

Who plays it: the engine as a unit of a player first walks in ('enter', when left out), or the game's code