| Package | Description |
|---|---|
| squidpony.squidgrid.mapping |
Tools specifically for generating maps and placing content in them, usually working with 2D char arrays.
|
| Modifier and Type | Field and Description |
|---|---|
RoomFinder |
Placement.finder
The RoomFinder this uses internally to find placement areas only where they are appropriate.
|
RoomFinder |
SectionDungeonGenerator.finder
Potentially important if you need to identify specific rooms, corridors, or cave areas in a map.
|
| Modifier and Type | Method and Description |
|---|---|
SectionMap |
SectionMap.reinitialize(RoomFinder rf)
If this SectionMap hasn't been initialized or the map has completely changed (such as if the player went to a
different floor of a dungeon), then you can call this method to avoid discarding some of the state from an
earlier SectionMap.
|
| Constructor and Description |
|---|
Placement(RoomFinder finder)
Constructs a Placement using the given RoomFinder, which will have collections of rooms, corridors, and caves.
|
SectionMap(RoomFinder rf)
The preferred constructor; takes a RoomFinder (often one already created in dungeon generation and available via
SectionDungeonGenerator.finder) and uses it to give unique String names and identifying numbers to each
room, corridor, and cave area that had been identified by that RoomFinder. |
Copyright © Eben Howard 2012–2022. All rights reserved.