add back GoalBlock toString
This commit is contained in:
parent
3ddc5ad115
commit
f5c2c40c79
@ -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 + "}";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user