private void processKey(KeyEvent e) {
		int keyCode = e.getKeyCode();
		System.out.println("Key press:"+keyCode);

		// termination keys
		// listen for esc, q, end, ctrl-c on the canvas to
		// allow a convenient exit from the full screen configuration
		if ((keyCode == KeyEvent.VK_ESCAPE) || (keyCode == KeyEvent.VK_Q)
				|| (keyCode == KeyEvent.VK_END)
				|| ((keyCode == KeyEvent.VK_C) && e.isControlDown()))
			running = false;

		// help controls
		if (keyCode == KeyEvent.VK_H) {
			if (showHelp) { // help being shown
				showHelp = false; // switch off
				isPaused = false;
			} else { // help not being shown
				showHelp = true; // show it
				isPaused = true; // isPaused may already be true
			}
		}
	    // game-play keys
		/*if (!isPaused && !gameOver) {
			// move the player based on the numpad key pressed
			if (keyCode == KeyEvent.VK_NUMPAD7)
				player.move(TiledSprite.NW); // move north west
			else if (keyCode == KeyEvent.VK_NUMPAD9)
				player.move(TiledSprite.NE); // north east
			else if (keyCode == KeyEvent.VK_NUMPAD3)
				player.move(TiledSprite.SE); // south east
			else if (keyCode == KeyEvent.VK_NUMPAD1)
				player.move(TiledSprite.SW); // south west
			else if (keyCode == KeyEvent.VK_NUMPAD5)
				player.standStill(); // stand still
			else if (keyCode == KeyEvent.VK_NUMPAD2)
				player.tryPickup(); // try to pick up from this tile
		}*/

	} // end of processKey()