Skip to content

createWorldFromMap ​

Function of @v12-engine/engine

ts
export declare function createWorldFromMap(options: MapWorldOptions): Promise<World>;

A world as a map lays it out: its ground, the players it has room for, and everything placed on it. Players with a start location that the map places nothing for get what the game starts everyone with. Throws for a map made for another game (GameMap.game).