public void load(BufferedReader reader) {
		try {
			String line = reader.readLine();
			String[] temp = line.split(";");
			for(int x = 1; x<temp.length; x++) {
				swingTimes[x - 1] = Float.parseFloat(temp[x]);
			}
			if(swingTimes.length > 0)
				timeSpinner.setValue(swingTimes[0]);
			totalText.setText(temp[0] + " seconds");
			
			int i = 0;
			while(!(line = reader.readLine()).matches("<BREAK>")) {
				temp = line.split(";");
				for(int x = 0; x<temp.length; x++) {
					hitboxes[i] = new Rectangle(Integer.parseInt(temp[x]), Integer.parseInt(temp[x+=1]), Integer.parseInt(temp[x+=1]), Integer.parseInt(temp[x+=1]));
					i++;
				}
			}
			
			if(hitboxes.length > 0)
				rectToDraw.setFrame(hitboxes[0]);
		} catch (FileNotFoundException e) {
	    	System.out.println("The weapon database has been misplaced!");
	    	e.printStackTrace();
	    } catch (IOException e) {
	    	System.out.println("Weapon database failed to load!");
	    	e.printStackTrace();
	    }
	}