public void keyPressed(KeyEvent e)
	{
		int key = e.getKeyCode();
		if(key >= 48 && key <= 57) newMass = (key - 48)*100;
		else if(key == KeyEvent.VK_Z)
		{
			game.GUI.offsetX += game.getWidth()*.05 + game.GUI.offsetX*.1;
			game.GUI.offsetY += game.getHeight()*.05 + game.GUI.offsetY*.1;
			game.GUI.scale *= 1.1;
		}
		else if(key == KeyEvent.VK_X)
		{
			game.GUI.offsetX -= game.getWidth()*.05 + game.GUI.offsetX*.1;
			game.GUI.offsetY -= game.getHeight()*.05 + game.GUI.offsetY*.1;
			game.GUI.scale *= .9;
		}
		else if(key == KeyEvent.VK_W) game.GUI.offsetY -= 25/game.GUI.scale;
		else if(key == KeyEvent.VK_A) game.GUI.offsetX -= 25/game.GUI.scale;
		else if(key == KeyEvent.VK_S) game.GUI.offsetY += 25/game.GUI.scale;
		else if(key == KeyEvent.VK_D) game.GUI.offsetX += 25/game.GUI.scale;
		else if(key == 192) System.exit(0); //Tilde
	}