Package | Description |
---|---|
squidpony.squidai |
Tools for finding paths, optimizing targets for area-of-effect (AOE) abilities, and evaluating influence on a grid.
|
squidpony.squidmath |
A very broad package containing random number generators, geometry tools, and some classes for combinatorics.
|
Modifier and Type | Field and Description |
---|---|
DijkstraMap.Measurement |
DijkstraMap.measurement
This affects how distance is measured on diagonal directions vs.
|
Modifier and Type | Method and Description |
---|---|
static DijkstraMap.Measurement |
DijkstraMap.findMeasurement(Radius radius)
Gets the appropriate DijkstraMap.Measurement to pass to a constructor if you already have a Radius.
|
static DijkstraMap.Measurement |
DijkstraMap.Measurement.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DijkstraMap.Measurement[] |
DijkstraMap.Measurement.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static Radius |
DijkstraMap.findRadius(DijkstraMap.Measurement measurement)
Gets the appropriate Radius corresponding to a DijkstraMap.Measurement.
|
Constructor and Description |
---|
DijkstraMap(char[][] level,
DijkstraMap.Measurement measurement)
Constructor meant to take a char[][] returned by DungeonGen.generate(), or any other
char[][] where '#' means a wall and anything else is a walkable tile.
|
DijkstraMap(char[][] level,
DijkstraMap.Measurement measurement,
RNG rng)
Constructor meant to take a char[][] returned by DungeonGen.generate(), or any other
char[][] where '#' means a wall and anything else is a walkable tile.
|
DijkstraMap(double[][] level,
DijkstraMap.Measurement measurement)
Used to construct a DijkstraMap from the output of another, specifying a distance calculation.
|
Modifier and Type | Method and Description |
---|---|
protected static DijkstraMap.Measurement |
PlannedAStar.translateSearchType(AStarSearch.SearchType type) |
Copyright © 2012–2016. All rights reserved.