private void pressed(KeyEvent e, String text)
    {
	int key = e.getKeyCode();
	//VK_SPACE = space bar
	if(key == KeyEvent.VK_SPACE && !drawingLevel)
	    {
		fired = true;
	    }
	//VK_UP = Up arrow
	if (key == KeyEvent.VK_UP)
	    {
		upArrowPressed = true;
	    }
	if (key== KeyEvent.VK_X)
	    {
		superJumpPressed = true;
	    }
	if (key== KeyEvent.VK_LEFT)
	    {runner.move2();}
	if (key == KeyEvent.VK_RIGHT)
	    {runner.move1();}
    }