src/Neuron/GameServer/Map/Pathfinder.php
public function getPath 
	(
		Neuron_GameServer_Map_Location $start, 
		Neuron_GameServer_Map_Location $end
	)
	{
		// Start here :-)
		$x1 = $start[0];
		$y1 = $start[1];
		
		$x2 = $end[0];
		$y2 = $end[1];
		
		if (!$this->isPassable ($x2, $y2))
		{
			return false;
		}
		
		$astar = $this->astar ($start, $end);

		//var_dump ($astar);
		//exit;

		return $astar;
	}
public function getPath 
	(
		Neuron_GameServer_Map_Location $start, 
		Neuron_GameServer_Map_Location $end
	)
	{
		// Start here :-)
		$x1 = $start[0];
		$y1 = $start[1];
		
		$x2 = $end[0];
		$y2 = $end[1];
		
		if (!$this->isPassable ($x2, $y2))
		{
			return false;
		}
		
		$astar = $this->astar ($start, $end);

		//var_dump ($astar);
		//exit;

		return $astar;
	}
Calculate and return the path