@Override
	public void keyPressed(KeyEvent ke) {
		// System.out.println(ke.getKeyCode());
		if (isStart) {
			switch (ke.getKeyCode()) {
			// 向右移动
			case KeyEvent.VK_D:
				mario.rightMove();
				break;

			// 向左移动
			case KeyEvent.VK_A:
				mario.leftMove();
				break;

			// 跳跃
			case KeyEvent.VK_J:
				mario.jump();
				break;

			case KeyEvent.VK_K:
				mario.jump();
				break;

			case KeyEvent.VK_SPACE:
				mario.jump();
				break;

			default:
				break;
			}
		}
	}