Uses of Class
squidpony.squidgrid.mapping.DungeonGenerator
Package | Description |
---|---|
squidpony.squidgrid.mapping |
Tools specifically for generating maps and placing content in them, usually working with 2D char arrays.
|
-
Uses of DungeonGenerator in squidpony.squidgrid.mapping
Methods in squidpony.squidgrid.mapping that return DungeonGenerator Modifier and Type Method Description DungeonGenerator
DungeonGenerator. addBoulders(int percentage)
Turns the given percentage of floor cells not already adjacent to walls into wall cells, represented by '#'.DungeonGenerator
DungeonGenerator. addDoors(int percentage, boolean doubleDoors)
Turns the given percentage of viable doorways into doors, represented by '+' for doors that allow travel along the x-axis and '/' for doors that allow travel along the y-axis.DungeonGenerator
DungeonGenerator. addGrass(int percentage)
Turns the majority of the given percentage of floor cells into grass cells, represented by '"'.DungeonGenerator
DungeonGenerator. addTraps(int percentage)
Turns the given percentage of open area floor cells into trap cells, represented by '^'.DungeonGenerator
DungeonGenerator. addWater(int percentage)
Turns the majority of the given percentage of floor cells into water cells, represented by '~'.DungeonGenerator
DungeonGenerator. addWater(int percentage, int islandSpacing)
Turns the majority of the given percentage of floor cells into water cells, represented by '~'.DungeonGenerator
DungeonGenerator. clearEffects()
Removes any door, water, or trap insertion effects that this DungeonGenerator would put in future dungeons.Constructors in squidpony.squidgrid.mapping with parameters of type DungeonGenerator Constructor Description DungeonGenerator(DungeonGenerator copying)
Copies all fields from copying and makes a new DungeonGenerator.