public void keyReleased(KeyEvent event) {
		int code = event.getKeyCode();
		MainCharacter stubi = pan.getStubi();
		if (code==currentKey)
			currentKey = -1;
		switch (code) {
		case 37:
		case 81:
			stubi.setMove('s');	// stand
			// Action end go left
			break;
		case 39:
		case 68:
			stubi.setMove('s');	// stand
			// Action end go right
			break;
		case 40:
		case 83:
			stubi.setCrawling(false);
			// Action end crawling
			break;
		default:
			break;		
		}                  
	}