PathfinderTile.cost now relies on a dictionary