public void changeLevel() {
		currentMap++;
		if (currentMap < maps.length) {
			boat1 = new Boat(0, maps[currentMap].xBoat1, maps[currentMap].yBoat1, width*scale, height*scale, maps[currentMap], maps[currentMap].rotationBoat1);
			boat2 = new Boat(1, maps[currentMap].xBoat2, maps[currentMap].yBoat2, width*scale, height*scale, maps[currentMap], maps[currentMap].rotationBoat2);
			
			BufferedImage sprites = null;
			File path = new File("../Cardirow/src/Images/sprites.png");
			try {
				sprites = ImageIO.read(path);
			} catch (IOException e) {
				e.printStackTrace();
			}
			
			for (int i = 0; i < 4; i++) {
				BufferedImage idle = sprites.getSubimage(0, 40*i, 52, 40);
				BufferedImage[] frames = new BufferedImage[6];
				for (int j = 1; j < 7; j++) {
					frames[j-1] = sprites.getSubimage(j*52, i*40, 52, 40);
				}
				if (i==0) {
					boat1.getLeftRower().setFrames(idle, frames);
				}
				if (i==1) {
					boat1.getRightRower().setFrames(idle, frames);
				}
				if (i==2) {
					boat2.getLeftRower().setFrames(idle, frames);
				}
				if (i==3) {
					boat2.getRightRower().setFrames(idle, frames);
				}
			}
		}
		else {
			inGame = false;
		}
	}