|
RpgGame
Console Based RPG game in C#
|
Generates multiple random chamber rooms in the dungeon. More...
Public Member Functions | |
| ChambersProcedure (int roomCount) | |
| Initializes a chambers generation procedure. | |
| Task | ApplyAsync (Level level, DungeonContext context) |
| Applies the chambers generation to the level. | |
Generates multiple random chamber rooms in the dungeon.
This procedure attempts to create random rectangular rooms that do not overlap with existing rooms. Rooms are carved out as floor tiles and registered for later coordination.
|
inline |
Initializes a chambers generation procedure.
| roomCount | The maximum number of chambers to attempt to generate. |
|
inline |
Applies the chambers generation to the level.
| level | The level being generated. |
| context | Shared generation state. |
Implements RpgGame.Generation.IDungeonProcedure.