Uses of Class
squidpony.squidmath.IntDoubleOrderedMap
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 .
|
squidpony.squidmath |
A very broad package containing random number generators, geometry tools, data structures, and noise functions.
|
-
Uses of IntDoubleOrderedMap in squidpony.squidai
Methods in squidpony.squidai that return IntDoubleOrderedMap Modifier and Type Method Description IntDoubleOrderedMap
CustomDijkstraMap. floodFill(int radius, int... starts)
A simple limited flood-fill that returns a OrderedMap of Coord keys to the Double values in the CustomDijkstraMap, only calculating out to a number of steps determined by limit. -
Uses of IntDoubleOrderedMap in squidpony.squidgrid
Fields in squidpony.squidgrid declared as IntDoubleOrderedMap Modifier and Type Field Description IntDoubleOrderedMap
Adjacency. costRules
Used in place of a double[][] of costs in CustomDijkstraMap; allows you to set the costs to enter tiles (viaAdjacency.addCostRule(char, double)
orAdjacency.addCostRule(char, double, boolean)
if the map has rotations).Methods in squidpony.squidgrid that return IntDoubleOrderedMap Modifier and Type Method Description IntDoubleOrderedMap
Adjacency. addCostRule(char tile, double cost)
abstract IntDoubleOrderedMap
Adjacency. addCostRule(char tile, double cost, boolean isRotation)
IntDoubleOrderedMap
Adjacency.BasicAdjacency. addCostRule(char tile, double cost, boolean isRotation)
IntDoubleOrderedMap
Adjacency.RotationAdjacency. addCostRule(char tile, double cost, boolean isRotation)
IntDoubleOrderedMap
Adjacency.ThinWallAdjacency. addCostRule(char tile, double cost, boolean isRotation)
IntDoubleOrderedMap
Adjacency.BasicAdjacency. putAllVariants(IntDoubleOrderedMap map, int key, double value, int size)
IntDoubleOrderedMap
Adjacency. putAllVariants(IntDoubleOrderedMap map, int key, double value)
abstract IntDoubleOrderedMap
Adjacency. putAllVariants(IntDoubleOrderedMap map, int key, double value, int size)
IntDoubleOrderedMap
Adjacency.RotationAdjacency. putAllVariants(IntDoubleOrderedMap map, int key, double value, int size)
Methods in squidpony.squidgrid with parameters of type IntDoubleOrderedMap Modifier and Type Method Description IntDoubleOrderedMap
Adjacency.BasicAdjacency. putAllVariants(IntDoubleOrderedMap map, int key, double value, int size)
IntDoubleOrderedMap
Adjacency. putAllVariants(IntDoubleOrderedMap map, int key, double value)
abstract IntDoubleOrderedMap
Adjacency. putAllVariants(IntDoubleOrderedMap map, int key, double value, int size)
IntDoubleOrderedMap
Adjacency.RotationAdjacency. putAllVariants(IntDoubleOrderedMap map, int key, double value, int size)
-
Uses of IntDoubleOrderedMap in squidpony.squidmath
Methods in squidpony.squidmath that return IntDoubleOrderedMap Modifier and Type Method Description IntDoubleOrderedMap
IntDoubleOrderedMap. clone()
Returns a deep copy of this map.IntDoubleOrderedMap
IntDoubleOrderedMap. reorder(int... ordering)
Given an array or varargs of replacement indices for this OrderedMap's iteration order, reorders this so the first item in the returned version is the same asgetAt(ordering[0])
(with some care taken for negative or too-large indices), the second item in the returned version is the same asgetAt(ordering[1])
, etc.IntDoubleOrderedMap
IntDoubleOrderedMap. shuffle(IRNG rng)
Randomly alters the iteration order for this OrderedMap using the given IRNG to shuffle.Methods in squidpony.squidmath with parameters of type IntDoubleOrderedMap Modifier and Type Method Description void
IntDoubleOrderedMap. putAll(IntDoubleOrderedMap m)
Puts all key-value pairs in the Map m into this OrderedMap.Constructors in squidpony.squidmath with parameters of type IntDoubleOrderedMap Constructor Description IntDoubleOrderedMap(IntDoubleOrderedMap m)
Creates a new OrderedMap with 0.75f as load factor copying a given one.IntDoubleOrderedMap(IntDoubleOrderedMap m, float f)
Creates a new OrderedMap copying a given one.