Package-level declarations
Types
A supplier that provides the cost of traveling between two cells in a juxtaposition. This will not calculate the cost of a total path, but only the cost of traveling between two cells. The cost is represented as an integer, where a higher value means a higher cost. The cost should be positive and non-negative.
A path is a list of cells that are connected to each other and walkable entirely. An object always consists of at least one cell.
Functions
Finds a path from the start location to the end location using the specified algorithm and cost supplier.
Finds a path from the start cell (this) to the end cell using the specified algorithm and cost supplier.
Checks whether this locatable is adjacent to the other locatable. If includeDiagonal is true, the method will also return true if the locatables are diagonal to each other.
Checks whether this location is adjacent to the other location. If includeDiagonal is true, the method will also return true if the locations are diagonal to each other.