Uses of Class
squidpony.squidai.CustomDijkstraMap
Package | Description |
---|---|
squidpony.squidai |
Tools for finding paths, optimizing targets for area-of-effect (AOE) abilities, and evaluating influence on a grid.
|
-
Uses of CustomDijkstraMap in squidpony.squidai
Methods in squidpony.squidai that return CustomDijkstraMap Modifier and Type Method Description CustomDijkstraMap
CustomDijkstraMap. initialize(char[][] level)
Used to initialize or re-initialize a CustomDijkstraMap that needs a new PhysicalMap because it either wasn't given one when it was constructed, or because the contents of the terrain have changed permanently (not if a creature moved; for that you pass the positions of creatures that block paths to scan() or findPath() ).CustomDijkstraMap
CustomDijkstraMap. initialize(char[][] level, char alternateWall)
Used to initialize or re-initialize a CustomDijkstraMap that needs a new PhysicalMap because it either wasn't given one when it was constructed, or because the contents of the terrain have changed permanently (not if a creature moved; for that you pass the positions of creatures that block paths to scan() or findPath() ).CustomDijkstraMap
CustomDijkstraMap. initialize(double[] level)
Used to initialize or re-initialize a CustomDijkstraMap that needs a new PhysicalMap because it either wasn't given one when it was constructed, or because the contents of the terrain have changed permanently (not if a creature moved; for that you pass the positions of creatures that block paths to scan() or findPath() ).CustomDijkstraMap
CustomDijkstraMap. initializeCost(char[][] level)
Used to initialize the entry cost modifiers for games that require variable costs to enter squares.CustomDijkstraMap
CustomDijkstraMap. initializeCost(int[] tiles)
Used to initialize the entry cost modifiers for games that require variable costs to enter squares.