RGBXY[] treeXYcoords1 = findRGBXYs(getColorArray2d(), Areas.GAME,null, tree[0], 1000,5,5,5); RGBXY[] treeXYcoords2 = findRGBXYs(getColorArray2d(), Areas.GAME,null, tree[1], 1000,5,5,5);