Package | Description |
---|---|
squidpony.squidai |
Tools for finding paths, optimizing targets for area-of-effect (AOE) abilities, and evaluating influence on a grid.
|
squidpony.squidgrid |
Tools for working with data on a grid, including LOS and FOV; overlaps with geometry code in squidpony.squidmath .
|
Modifier and Type | Field and Description |
---|---|
Measurement |
DijkstraMap.measurement
This affects how distance is measured on diagonal directions vs.
|
Modifier and Type | Method and Description |
---|---|
static Measurement |
CustomDijkstraMap.findMeasurement(Radius radius)
Gets the appropriate DijkstraMap.Measurement to pass to a constructor if you already have a Radius.
|
static Measurement |
DijkstraMap.findMeasurement(Radius radius)
Gets the appropriate Measurement to pass to a constructor if you already have a Radius.
|
Modifier and Type | Method and Description |
---|---|
static Radius |
CustomDijkstraMap.findRadius(Measurement measurement)
Gets the appropriate Radius corresponding to a DijkstraMap.Measurement.
|
static Radius |
DijkstraMap.findRadius(Measurement measurement)
Gets the appropriate Radius corresponding to a Measurement.
|
Constructor and Description |
---|
DijkstraMap(char[][] level,
Measurement measurement)
Constructor meant to take a char[][] returned by DungeonBoneGen.generate(), or any other
char[][] where '#' means a wall and anything else is a walkable tile.
|
DijkstraMap(char[][] level,
Measurement measurement,
IRNG rng)
Constructor meant to take a char[][] returned by DungeonBoneGen.generate(), or any other
char[][] where '#' means a wall and anything else is a walkable tile.
|
DijkstraMap(double[][] level,
Measurement measurement)
Used to construct a DijkstraMap from the output of another, specifying a distance calculation.
|
Modifier and Type | Field and Description |
---|---|
Measurement |
Adjacency.measurement
This affects how distance is measured on diagonal directions vs.
|
Measurement |
MultiSpill.measurement
This affects how distance is measured on diagonal directions vs.
|
Measurement |
SoundMap.measurement
This affects how sound travels on diagonal directions vs.
|
Measurement |
Spill.measurement
This affects how distance is measured on diagonal directions vs.
|
Modifier and Type | Method and Description |
---|---|
Measurement |
Radius.matchingMeasurement()
Gets the appropriate
Measurement to pass to a constructor if you already have a Radius. |
static Measurement |
Measurement.matchingMeasurement(Radius radius)
Gets the appropriate Measurement that matches a Radius enum.
|
static Measurement |
Measurement.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Measurement[] |
Measurement.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
BasicAdjacency(int width,
int height,
Measurement metric) |
MultiSpill(char[][] level,
Measurement measurement)
Constructor meant to take a char[][] returned by DungeonBoneGen.generate(), or any other
char[][] where '#' means a wall and anything else is a walkable tile.
|
MultiSpill(char[][] level,
Measurement measurement,
IRNG random)
Constructor meant to take a char[][] returned by DungeonBoneGen.generate(), or any other
char[][] where '#' means a wall and anything else is a walkable tile.
|
MultiSpill(short[][] level,
Measurement measurement)
Used to construct a Spill from the output of another, specifying a distance calculation.
|
MultiSpill(short[][] level,
Measurement measurement,
IRNG random)
Used to construct a Spill from the output of another, specifying a distance calculation and RNG.
|
RotationAdjacency(int width,
int height,
Measurement metric) |
SoundMap(char[][] level,
Measurement measurement)
Constructor meant to take a char[][] returned by DungeonBoneGen.generate(), or any other
char[][] where '#' means a wall and anything else is a walkable tile.
|
SoundMap(double[][] level,
Measurement measurement)
Used to construct a DijkstraMap from the output of another, specifying a distance calculation.
|
Spill(boolean[][] level,
Measurement measurement)
Used to construct a Spill from the output of another, specifying a distance calculation.
|
Spill(char[][] level,
Measurement measurement)
Constructor meant to take a char[][] returned by DungeonBoneGen.generate(), or any other
char[][] where '#' means a wall and anything else is a walkable tile.
|
Spill(char[][] level,
Measurement measurement,
IRNG random)
Constructor meant to take a char[][] returned by DungeonBoneGen.generate(), or any other
char[][] where '#' means a wall and anything else is a walkable tile.
|
Spill(char[][] level,
Measurement measurement,
IStatefulRNG random)
Constructor meant to take a char[][] returned by DungeonBoneGen.generate(), or any other
char[][] where '#' means a wall and anything else is a walkable tile.
|
ThinWallAdjacency(int width,
int height,
Measurement metric) |
Copyright © Eben Howard 2012–2022. All rights reserved.