The Cursed Labyrinth
Loading...
Searching...
No Matches
IRoomCarver Interface Reference

Public Member Functions

RectInt? CreateRoom (RectInt leafArea, int minRoomSize, int maxRoomSize, System.Random rng)
 Create a room rect inside leafArea or return null to skip.

Member Function Documentation

◆ CreateRoom()

RectInt? IRoomCarver.CreateRoom ( RectInt leafArea,
int minRoomSize,
int maxRoomSize,
System.Random rng )

Create a room rect inside leafArea or return null to skip.

Parameters
leafAreaLeaf area
minRoomSize
maxRoomSize
rngRandom
Returns
Room rectangle, or null if no room should be carved

The documentation for this interface was generated from the following file: