public void handleInput() {

		if ((p.health <= 1) || (op.health <= 1) || (endResult.length() > 1)) {
			if (KeyHandler.isPressed(KeyHandler.ENTER)) {
				gsm.setState(GameStateManager.STARTMENU);
			}
			return;
		}

		p.setLeft(KeyHandler.keyState[KeyHandler.LEFT]);
		p.setRight(KeyHandler.keyState[KeyHandler.RIGHT]);
		p.setJumping(KeyHandler.keyState[KeyHandler.UP]);
		
		if(KeyHandler.isPressed(KeyHandler.UP)){
			aerialCombo =1;
		}
		
		if (KeyHandler.isPressed(KeyHandler.SPACE)) {
			p.setAttacking();
		}

		if (KeyHandler.isPressed(KeyHandler.D)) {
			setDiff(getDiff() < 2 ? getDiff() + 1 : 0);
			op.maxSpeed = 0.3;
			op.maxSpeed = 0.3 + (0.1*getDiff());
		}
	}