Skip to content

1.8.0

Compare
Choose a tag to compare
@Yonaba Yonaba released this 24 Mar 14:07
· 169 commits to master since this release
  • Moved the internal Grid module at the top level
  • Separated path handling logic from the pathfinder class
  • Added a new Path class
  • Moved Pathfinder:filter and Pathfinder:fill to Path:filter and Path:fill
  • Changed Pathfinder:new args, to handle the explicit choice of a finder.
  • Added Pathfinder:setGrid
  • Added Pathfinder:getGrid
  • Added Pathfinder:setWalkable
  • Added Pathfinder:getWalkable
  • Changed Grid:isWalkableAt to handle a third-parameter for node walkability testing
  • Added Grid:getWidth
  • Added Grid:getHeight
  • Added Grid:getMap
  • Added Grid:getNodes
  • Added Grid:getNodes
  • Added Path:getLength for the Path class, for path length self-evaluation, as it fails with finders not handling heuristics.
  • Added Dijkstra algorithm
  • Added Breadth-First search algorithm
  • Added Depth-First search algorithm
  • Updated README and documentation