public static void attack(PlanetWars pw, int objective) {	// Objective is 0 GR, 1 planet, 2 ships, 3 Dcal + distance
		// Tested
		Planet source = null;
		Planet dest = null;
		List<Planet> asw;

		switch (objective){
			case 0 : asw = forGR(pw);
				break;
			case 1 : asw = forPlanet(pw);
				break;
			case 2 : asw = forShips(pw);
				break;
			default : asw = forDcalcDist(pw);
				break;
		}
		source = asw.get(0);
		dest = asw.get(1);

		if (source != null && dest != null) {
			pw.IssueOrder(source, dest);
		}
		updateLearning(objective);
	}