Skip to content

GameMaps ​

TypeAlias of @v12-engine/engine

ts
export type GameMaps = Readonly<Record<string, GameMap | (() => Promise<GameMap>)>>;

A game's maps by name (Game.maps): each the map, or what fetches it as it is first asked for (mapsFrom of a lazy glob), so that a page carries none of a map it does not open