1
0
forked from s425077/PotatoPlan

docs touchup

This commit is contained in:
BOTLester 2020-05-04 01:58:05 +02:00
parent e5a15185cb
commit 673ff157ba

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));