Package | Description |
---|---|
squidpony.squidgrid.mapping |
Tools specifically for generating maps and placing content in them, usually working with 2D char arrays.
|
Modifier and Type | Method and 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.addStairs()
Enables drawing stairs up, as '<', and stairs down, as '>', when a map is generated.
|
DungeonGenerator |
DungeonGenerator.addStairs(boolean up,
boolean down)
Potentially enables drawing stairs up, as '<', and stairs down, as '>', when a map is generated.
|
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.
|
Constructor and Description |
---|
DungeonGenerator(DungeonGenerator copying)
Copies all fields from copying and makes a new DungeonGenerator.
|
Copyright © Eben Howard 2012–2022. All rights reserved.