public void readOptions() {
		FileInputStream fileIn;
		//Read in options from options.ser
		try {
			fileIn = new FileInputStream("options.ser");
			ObjectInputStream in = new ObjectInputStream(fileIn);
	        double[] values = (double[]) in.readObject();
	        myNumGuns = (int) values[0];
	        in.close();
	        fileIn.close();
	    // Got an error, set all values to defaults
		} catch (IOException e) {
			myNumGuns = 5; // Default amount of cannons
			System.out.println("Could not read from options.ser: " + e);
		} catch (ClassNotFoundException e) {
			// TODO Auto-generated catch block
			System.out.println("Error reading from options.ser: " + e);
		}
	}