@Override
	public void keyPressed(KeyEvent e) {
		if (e.getSource() == content) {
			int key = e.getKeyCode();
			switch (key) {
			case KeyEvent.VK_W:
				game.getPlayer().jump();
				break;
			case KeyEvent.VK_S:
				downDown = true;
				break;
			case KeyEvent.VK_A:
				leftDown = true;
				break;
			case KeyEvent.VK_D:
				rightDown = true;
				break;
			case KeyEvent.VK_Q:
				game.shiftLeft(game.getPlayer());
				break;
			case KeyEvent.VK_E:
				game.center(game.getPlayer());
				break;
			case KeyEvent.VK_R:
				content.switchOutlineVisible();
				break;
			case KeyEvent.VK_F:
				locked = !locked;
				break;
			}
		}
	}