Uses of Class
squidpony.squidgrid.Measurement
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 .
|
-
Uses of Measurement in squidpony.squidai
Fields in squidpony.squidai declared as Measurement Modifier and Type Field Description Measurement
DijkstraMap. measurement
This affects how distance is measured on diagonal directions vs.Methods in squidpony.squidai that return Measurement Modifier and Type Method 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.Methods in squidpony.squidai with parameters of type Measurement Modifier and Type Method 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.Constructors in squidpony.squidai with parameters of type Measurement Constructor 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. -
Uses of Measurement in squidpony.squidgrid
Fields in squidpony.squidgrid declared as Measurement Modifier and Type Field 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.Methods in squidpony.squidgrid that return Measurement Modifier and Type Method Description static Measurement
Measurement. matchingMeasurement(Radius radius)
Gets the appropriate Measurement that matches a Radius enum.Measurement
Radius. matchingMeasurement()
Gets the appropriateMeasurement
to pass to a constructor if you already have a Radius.static Measurement
Measurement. valueOf(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.Constructors in squidpony.squidgrid with parameters of type Measurement Constructor 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)