- Added ability to enable and disable diagonal path finding.
- Added code to color closed tiles transparent red.
- Added tie detection by checking the hScore if the fScore is equal.
Tried to add unit movement between tiles. Something isn't right.
Unit follows path sometimes, but if it never reaches the nextWorldLocation things get strange.
Finally have the green dot following the red line. Just need to fix some bugs while the dot is still in the process of moving.
Fixed some path finding bugs when recalculating the path while moving.
Tweaked the unit movement variables and added a speedModifier that slows the unit down when it reaches the final location. Also resized the unit and changed a few of the map colors.
Made units easier to see, removed some code to speed things up a bit, still need to figure out how to make the pathfinding more fluid by using a path buffer.
Removed some commented lines.
Adding button class.