public void load(){
		try {
			images = new BufferedImage[5][];
			BufferedImage image = ImageIO.read(getClass().getResourceAsStream(path));
			for(int i = 0; i < images.length; i++){
				BufferedImage[] subImages = new BufferedImage[length[i]];
				for(int j = 0; j < length[i]; j++){
					subImages[j] = image.getSubimage(j * 32, i * 32, 32, 32);
				}
				images[i] = subImages;
			}
		} catch (IOException e) {
			e.printStackTrace();
		}
	}