A* Implemented, Task2 ready #10

Merged
s425077 merged 1 commits from dev into master 2020-05-04 02:00:00 +02:00
Showing only changes of commit 673ff157ba - Show all commits

View File

@ -98,7 +98,6 @@ Successor function:
Heuristic function:
// Heuristic function, Manhattan method.
public int ComputeHScore(Vector2 currentNode, Vector2 endNote)
{
return (int)(Math.Abs(endNote.X - currentNode.X) + Math.Abs(endNote.Y - currentNode.Y));