@Override
	public double[] updatePlanes(ArrayList<Plane> planes, int round, double[] bearings) {
		//logger.info(round + " "+ planes.get(1).getLocation());
		for(int i = 0; i < planes.size(); i++) {
			if (planes.get(i).getLocation().distance(planes.get(i).getDestination())<=2) {
			} else if(dynamicPlanes.contains(i) && round > 0 && bearings[i]!=-2) {
                double bear = goGreedy(planes, i, round);
                if(bear!=-1)
                	bearings[i]=bear;
			}
			else if( bearings[i] == -2) {}
			else if (round < offsets[i]+1 ) {}  //plane hasn't taken off yet
			else if (round >= allPlaneLocs[i].size()+offsets[i]+1) {} //plane has landed
			else { 
				bearings[i] = allPlaneLocs[i].getBearingAt(round-offsets[i]-1); 
			} //plane is flying	
		}
		return bearings;
	}