add back GoalBlock toString

This commit is contained in:
Leijurv 2018-08-02 00:25:06 -04:00
parent 3ddc5ad115
commit f5c2c40c79
No known key found for this signature in database
GPG Key ID: 0936202430AE187C

View File

@ -70,4 +70,9 @@ public class GoalBlock implements Goal {
heuristic += GoalXZ.calculate(xDiff, zDiff, pythaDist); heuristic += GoalXZ.calculate(xDiff, zDiff, pythaDist);
return heuristic; return heuristic;
} }
@Override
public String toString() {
return "Goal{x=" + x + ",y=" + y + ",z=" + z + "}";
}
} }