public void ReadInput() {
		if (keyPressed(KeyEvent.VK_UP)) {
			play = false;
			if (levelPressed == 1) {
				levelPressed = 1;
			} else if (levelPressed == 2) {
				levelPressed = 1;
			} else if (levelPressed == 3) {
				levelPressed = 2;
			} else {
				levelPressed = 3;
			}
		} else if (keyPressed(KeyEvent.VK_DOWN)) {
			play = false;
			if (levelPressed == 1) {
				levelPressed = 2;
			} else if (levelPressed == 2) {
				levelPressed = 3;
			} else if (levelPressed == 3) {
				levelPressed = 4;
			} else {
				levelPressed = 4;
			}
		} else if (keyPressed(KeyEvent.VK_RIGHT)) {
			play = false;
			if (speedPressed == 1) {
				speedPressed = 2;
			} else if (speedPressed == 2) {
				speedPressed = 3;
			} else {
				speedPressed = 3;
			}
		} else if (keyPressed(KeyEvent.VK_LEFT)) {
			play = false;
			if (speedPressed == 1) {
				speedPressed = 1;
			} else if (speedPressed == 2) {
				speedPressed = 1;
			} else {
				speedPressed = 2;
			}
		} else if (keyPressed(KeyEvent.VK_ENTER)) {
			play = true;
		}
	}