Uses of Class
squidpony.squidgrid.mapping.RoomFinder
Package | Description |
---|---|
squidpony.squidgrid.mapping |
Tools specifically for generating maps and placing content in them, usually working with 2D char arrays.
|
-
Uses of RoomFinder in squidpony.squidgrid.mapping
Fields in squidpony.squidgrid.mapping declared as RoomFinder Modifier and Type Field 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.Methods in squidpony.squidgrid.mapping with parameters of type RoomFinder Modifier and Type Method 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.Constructors in squidpony.squidgrid.mapping with parameters of type RoomFinder Constructor 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 viaSectionDungeonGenerator.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.