public void keyPressed(KeyEvent e)
	{
		String dir = e.getKeyText(e.getKeyCode());
		//System.out.println(dir);

		if(Battle.BATTLE_OVER)
			Battle.TERMINATE=true;

		if (keyBoolean&&!cursorLock)
		keyMeasure(dir);
	}