remove debugging lines

This commit is contained in:
Dennis Eichhorn 2019-10-19 14:11:31 +02:00
parent 70f1662929
commit f24e6f4681

View File

@ -92,10 +92,6 @@ class JumpPointSearch implements PathFinderInterface
*/
public static function identifySuccessors(JumpPointNode $node, Grid $grid, int $heuristic, int $movement, JumpPointNode $endNode, Heap $openList) : Heap
{
if ($node->getY() === 5) {
$a = 1;
}
$neighbors = self::findNeighbors($node, $movement, $grid);
$neighborsLength = \count($neighbors);
@ -106,10 +102,6 @@ class JumpPointSearch implements PathFinderInterface
continue;
}
if ($neighbor->getX() === 2) {
$a = 1;
}
$jumpPoint = self::jump($neighbor, $node, $endNode, $movement, $grid);
if ($jumpPoint === null || $jumpPoint->isClosed()) {