public void keyPressed(KeyEvent e)
	{
		int key = e.getKeyCode();
		switch(key)
		{
		case KeyEvent.VK_SPACE:
			Main.world = new World(50, Main.pixel.width/4, Main.pixel.height/4, Main.pixel.width/2, Main.pixel.height/2, Main.pixel.height/2);
			break;
		case KeyEvent.VK_P: case KeyEvent.VK_ESCAPE:
			Main.isPaused = !Main.isPaused;
			break;
		case KeyEvent.VK_UP:
			World.temp += 10;
			break;
		case KeyEvent.VK_DOWN:
			World.temp -= 10;
			break;
		case KeyEvent.VK_RIGHT:
			World.pres += 50;
			break;
		case KeyEvent.VK_LEFT:
			World.pres -= 50;
			break;
		}
	}