Skip to content

MapGenerator beta ​

Interface of @v12-engine/engine

ts
export interface MapGenerator

A game's generator (Rules.generator): its parameters, as the dialog and the page show them, and its passes in order. generateMap runs it

Members ​

params ​

ts
params: GeneratorParamDef[];

The parameters the generator takes, as the dialog and the page show them

passes ​

ts
passes: GeneratorPass[];

The passes run in order, each working on the map the passes before made

tries ​

ts
tries?: number;

How many seeds are tried where the map comes out with a problem that keeps it from being played (an error, a start cut off from the others or blocked): 4 when left out