@Override
		public void keyPressed(KeyEvent e) {
			if(e.getKeyCode() == KEY_JUMP) {
				if(!player.getVerticalMovingBehavior().equals(fallingBehavior)) {
					player.setVerticalMovingBehavior(jumpingBehavior);
				}
			}
			else if(e.getKeyCode() == KEY_LEFT) {
				player.setHorizontalMovingBehavior(moveLeftBehavior);
				movingLeft = true;
			}
			else if(e.getKeyCode() == KEY_RIGHT) {
				player.setHorizontalMovingBehavior(moveRightBehavior);
				movingLeft = false;
			}
			else if(e.getKeyCode() == KEY_SHIFT) {
				playerRunning = true;
			}
			else if(e.getKeyCode() == KEY_PAUSE) {
				if(inGame == true) {
					inGame = false;
				}
				else {
					inGame = true;
				}
			}
		}