public LinkedList<AStarNode> getAdjacentTo(AStarNode sourceNode) {
		LinkedList<AStarNode> adjacent = new LinkedList<AStarNode>();
		AStarNodeVector3D current = (AStarNodeVector3D)sourceNode;
		for (int x = (int)current.getLocation().getX() - 1; x <= current.getLocation().getX() + 1; x++) {
			if (x >= 0 && x < map.getWidth()) {
				for (int y = (int)current.getLocation().getY() - 1; y <= current.getLocation().getY() + 1; y++) {
					if (y >= 0 && y < map.getHeight())
						if (!(x == (int)current.getLocation().getX() && y == (int)current.getLocation().getY()))
							adjacent.add(new AStarNodeVector3D(new Vector3D(x, y, 0), current));
				}
			}
		}
		return adjacent;
	}