|
RpgGame
Console Based RPG game in C#
|
Generates corridors connecting all rooms to a central room. More...
Public Member Functions | |
| Task | ApplyAsync (Level level, DungeonContext context) |
| Applies the corridor carving procedure to the level. | |
Generates corridors connecting all rooms to a central room.
This procedure creates pathways from the central room to each additional room using a simple L-shaped corridor algorithm (horizontal then vertical movement).
|
inline |
Applies the corridor carving procedure to the level.
| level | The level being generated. |
| context | Shared generation state containing the rooms to connect. |
Implements RpgGame.Generation.IDungeonProcedure.