Class ShellBuilder
- Namespace
- GrindFest.Editor.DungeonBuilding.Fluent
- Assembly
- GrindFest.dll
Fluent builder for a shared room shell — walls, floors, pillars, ambient lighting. Compiles to one reusable FIMSpace.Generating.ModificatorsPack that multiple rooms can reference via Shell(ShellBuilder).
Common preset usage:
var shell = Dungeon.Shell("ChurchShell")
.StoneWalls()
.StoneFloors()
.StonePillars()
.WallProps(CandleWallPrefab, tag: "Light", minSpacing: 2)
.Save();
public sealed class ShellBuilder
- Inheritance
-
objectShellBuilder
Methods
- Raw(Action<ModificatorsPack>)
Raw access to the underlying FIMSpace.Generating.ModificatorsPack.
- Save()
Validate, compile to a reusable ModificatorsPack asset, save to disk. Returns the builder for chaining/passing to Shell(ShellBuilder).
- StoneFloors()
Add stone floor tiles (default Polygon Dungeon kit).
- StonePillars()
Add stone corner pillars where 4-cell intersections occur.
- StoneWalls()
Add stone walls (default Polygon Dungeon kit).
- WallProp(string, string, int)
Place repeating wall-snapped props (torches, candles, banners).