Skip to content

GeneratorPass beta ​

Interface of @v12-engine/engine

ts
export interface GeneratorPass

A pass of a generator: one thing done to the map, in its turn (MapGenerator.passes)

Members ​

id ​

ts
id: string;

The id the pass is told apart by

name ​

ts
name: string;

The name shown for the pass

run ​

ts
run(ctx: GeneratorContext): void;

Does the pass's work on ctx.map, returning nothing