Skip to content

GeneratorOptions beta ​

Interface of @v12-engine/engine

ts
export interface GeneratorOptions

What a map is made with (generateMap): the seed, the size, the players, the symmetry, and the game's own parameters (MapGenerator.params), each at its default where not said

Members ​

depth ​

ts
depth: number;

The map's depth in cells

name ​

ts
name?: string;

The map's name: "Generated " when left out

params ​

ts
params?: Record<string, number | string | boolean>;

The game's own parameters, by id, as the dialog's sliders and switches set them

players ​

ts
players: number;

How many players the map has starts for

seed ​

ts
seed: number;

The seed that makes the map: the same seed and options make the same map

symmetry ​

ts
symmetry?: MapSymmetry;

How the map is mirrored or turned so each player's side is alike: none when left out

width ​

ts
width: number;

The map's width in cells