AStar
A* pathfinding algorithm
Constants
VERSION = "0.1.0"
Instance methods
reconstruct_path(node)
Reconstructs the path based on a Node (usually the goal).
Returns path as an Array with start being the first element and goal last.
search(start : T, goal : T, &) forall T
Runs A* search from start to goal and uses block as heuristic function.
Returns Array(T) or Nil if no path was found.