Table of Contents

Class DungeonLayout

Namespace
GrindFest.Dungeons.Procedural
Assembly
GrindFest.dll

Pure data result of a layout algorithm. No Unity objects, no geometry. Subsequent passes (geometry, dressing) consume this.

Coordinate system: XZ grid cells. CellSize meters per cell. Cell (0,0) covers world XZ in [0, CellSize) x [0, CellSize).

public class DungeonLayout
Inheritance
object
DungeonLayout

Fields

CellSize
Corridors
Level
Rooms

Methods

CellToWorld(int, int, float)
CellToWorld(Vector2Int, float)
IsFloor(int, int)

True if any room or corridor includes the given cell on this level.