mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 17:58:41 +00:00
remove debugging lines
This commit is contained in:
parent
70f1662929
commit
f24e6f4681
|
|
@ -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()) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user