Added a comment.
Added isTileInList function. I may end up re-writing this entire thing it's pretty ugly :(.
Added new pathfinding js file.
Forgot to commit the project file.
Refactoring the pathFinder tile.
Finished the new tile object. Just need to add calculation loop.
Tested popSmallestTile method.
Removed some stuff.
Finished the Path Finder.
Need to make paths look a bit smoother.
Unit now follows a path to the destination. Also added a few tiles to test the path finder.
Added debug information for the pathFinder.
More debug information is being displayed.
Made the map more complex and removed the score multiplier to simplify the numbers.