Skip to content

StartsPassOptions beta ​

Interface of @v12-engine/engine

ts
export interface StartsPassOptions

What startsPass takes

Members ​

clearing ​

ts
clearing?: number;

How many cells around a start are flattened and dried: 6 when left out

from ​

ts
from?: (player: MapPlayer, at: Vec2, ctx: GeneratorContext) => void;

What a game puts at a start: its town hall and workers. Nothing when left out

spread ​

ts
spread?: number;

How far from the map's middle the starts stand, 0..0.5 of its size: 0.36 when left out