Class Preset.Builder

java.lang.Object
dev.despical.mazeengine.config.Preset.Builder
Enclosing class:
Preset

public static final class Preset.Builder extends Object
Collects named settings before publishing an immutable, validated preset.

Each setter changes only this builder. Building copies the current references and scalar values into a new preset, so subsequent builder edits cannot change settings already retained by a maze record. Palettes and generation settings are themselves immutable values.

Required palettes have no implicit theme. Geometry, decoration, and display defaults are generic; the builder does not infer a theme's difficulty or replace an explicitly supplied display name based on its identifier.