Configuration for the RangeFinder
Override the distance function for terrain costs or blocked spaces.
four | eight
Find the range from a given point.
Configuration for the findRange
The maximum range allowed
The minimum range allowed (optional)
Vector2 - The starting point
Generated using TypeDoc
Used to find a range from a central point, like movement or ranged attacks in turn-based games. This uses a search similar to Dijkstra or AStar, but returns a list of tiles in range of a starting point, rather than a path to a goal.