Package | Description |
---|---|
squidpony.squidai |
Tools for finding paths, optimizing targets for area-of-effect (AOE) abilities, and evaluating influence on a grid.
|
Modifier and Type | Method and Description |
---|---|
DijkstraMap |
DijkstraMap.initialize(char[][] level)
Used to initialize or re-initialize a DijkstraMap 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() ).
|
DijkstraMap |
DijkstraMap.initialize(char[][] level,
char alternateWall)
Used to initialize or re-initialize a DijkstraMap 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() ).
|
DijkstraMap |
DijkstraMap.initialize(double[][] level)
Used to initialize or re-initialize a DijkstraMap 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() ).
|
DijkstraMap |
DijkstraMap.initializeCost(char[][] level)
Used to initialize the entry cost modifiers for games that require variable costs to enter squares.
|
DijkstraMap |
DijkstraMap.initializeCost(char[][] level,
char alternateWall)
Used to initialize the entry cost modifiers for games that require variable costs to enter squares.
|
DijkstraMap |
DijkstraMap.initializeCost(double[][] costs)
Used to initialize the entry cost modifiers for games that require variable costs to enter squares.
|
Constructor and Description |
---|
WaypointPathfinder(char[][] map,
DijkstraMap dijkstra,
IRNG rng)
Calculates and stores the doors and doors-like connections ("chokepoints") on the given map as waypoints.
|
Copyright © Eben Howard 2012–2022. All rights reserved.