private void ExploreNode(Node parentNode, int columnOffset, int rowOffset, int gCost)
{
var adjacentCellIndex = _map.GetAdjacentCellIndex(parentNode.CellIndex, columnOffset, rowOffset);
// Ignore unwalkable nodes (or nodes outside the grid)
if (adjacentCellIndex == -1)
return;
// TODO: Ignore nodes on the closed list
if (OpenUpdatePathCost(parentNode, gCost, adjacentCellIndex))
return;
AddAdjacentCellToOpenList(parentNode, gCost, adjacentCellIndex);
}