private void loadEnemyPref() {
		Scanner scanner = null;
		try {
			scanner = new Scanner(new FileInputStream("res" + File.separator + "enemyPref.txt"));
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		}
	
		String currentLine;
		String[] currentLineArray;
		ArrayList<double[]> prefList = new ArrayList<double[]>();
		double[] enemyPrefs = new double[6];
		while (scanner.hasNext()) {
			currentLine = scanner.nextLine();
			//if the line starts with a # it's a comment so ignore it.
			if (!(currentLine.substring(0, 1)).equals("#")) {
				currentLineArray = currentLine.split(",");
				for (int i = 0; i < currentLineArray.length; i++) {
					enemyPrefs[i] = Double.parseDouble(currentLineArray[i]);
				}
				prefList.add(Arrays.copyOf(enemyPrefs, 6));
			}
		}
		
		Enemy.setDefaults(prefList);
	}