jp_DungeonRegion
This object is used to represent a 'region' in the dungeon - a set of contiguous floor turfs, along with the walls that border them. This object is used extensively by the generator, and has several assumptions embedded in it - think carefully before making changes
Procs | |
New | Make a new jp_DungeonRegion, and set its reference to its generator object |
---|---|
addBorder | Adds a list of turfs to the border of the region. |
addTurfs | Add a list of turfs to the region, optionally without adding the walls around them to the list of borders |
getBorder | Returns the list of walls bordering the floors in this region |
getTurfs | Returns the list of floors in this region |
Proc Details
New
Make a new jp_DungeonRegion, and set its reference to its generator object
addBorder
Adds a list of turfs to the border of the region.
addTurfs
Add a list of turfs to the region, optionally without adding the walls around them to the list of borders
getBorder
Returns the list of walls bordering the floors in this region
getTurfs
Returns the list of floors in this region