Class Preset.Builder
java.lang.Object
dev.despical.mazeengine.config.Preset.Builder
- Enclosing class:
Preset
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.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()capChance(double capChance) description(String description) difficulty(Preset.Difficulty difficulty) displayName(String displayName) entranceMarker(String entranceMarker) exitMarker(String exitMarker) generation(GenerationSettings generation) inlayChance(double inlayChance) lightSpacing(int lightSpacing) pathWidth(int pathWidth) placement(Preset.Placement placement) roof(boolean roof) snapshot(boolean snapshot) wallHeight(int wallHeight) wallThickness(int wallThickness)
-
Method Details
-
pathWidth
-
wallThickness
-
wallHeight
-
roof
-
snapshot
-
placement
-
generation
-
floor
-
wall
-
ceiling
-
cap
-
capChance
-
lightSpacing
-
light
-
entranceMarker
-
exitMarker
-
displayName
-
description
-
accent
-
difficulty
-
wallInlay
-
inlayChance
-
build
-