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 IntDoubleOrderedMapCustomDijkstraMap. 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 IntDoubleOrderedMapAdjacency. costRulesUsed 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 IntDoubleOrderedMapAdjacency. addCostRule(char tile, double cost)abstract IntDoubleOrderedMapAdjacency. addCostRule(char tile, double cost, boolean isRotation)IntDoubleOrderedMapAdjacency.BasicAdjacency. addCostRule(char tile, double cost, boolean isRotation)IntDoubleOrderedMapAdjacency.RotationAdjacency. addCostRule(char tile, double cost, boolean isRotation)IntDoubleOrderedMapAdjacency.ThinWallAdjacency. addCostRule(char tile, double cost, boolean isRotation)IntDoubleOrderedMapAdjacency.BasicAdjacency. putAllVariants(IntDoubleOrderedMap map, int key, double value, int size)IntDoubleOrderedMapAdjacency. putAllVariants(IntDoubleOrderedMap map, int key, double value)abstract IntDoubleOrderedMapAdjacency. putAllVariants(IntDoubleOrderedMap map, int key, double value, int size)IntDoubleOrderedMapAdjacency.RotationAdjacency. putAllVariants(IntDoubleOrderedMap map, int key, double value, int size)Methods in squidpony.squidgrid with parameters of type IntDoubleOrderedMap Modifier and Type Method Description IntDoubleOrderedMapAdjacency.BasicAdjacency. putAllVariants(IntDoubleOrderedMap map, int key, double value, int size)IntDoubleOrderedMapAdjacency. putAllVariants(IntDoubleOrderedMap map, int key, double value)abstract IntDoubleOrderedMapAdjacency. putAllVariants(IntDoubleOrderedMap map, int key, double value, int size)IntDoubleOrderedMapAdjacency.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 IntDoubleOrderedMapIntDoubleOrderedMap. clone()Returns a deep copy of this map.IntDoubleOrderedMapIntDoubleOrderedMap. 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.IntDoubleOrderedMapIntDoubleOrderedMap. 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 voidIntDoubleOrderedMap. 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.