Table of Contents

Class RoomUsageBuilder

Namespace
GrindFest.Editor.DungeonBuilding.Fluent
Assembly
GrindFest.dll

Per-room placement constraints inside a dungeon definition.

public sealed class RoomUsageBuilder
Inheritance
object
RoomUsageBuilder

Methods

Count(int)

Exact count of this room type in the dungeon.

Count(int, int)

Range of allowed counts.

Done()

Continue with parent dungeon definition.

Role(string)

Assign a semantic role (Center, Endpoint, SideRoom, etc.).

Save()

Save and return.

Use(FieldSetup)

Add another room (returns to parent for chaining).

Weight(float)

Probability weight relative to other rooms.