public void draw(Graphics g)
	{
		g.drawImage(background, Frame.transx, Frame.transy, Main.width + Frame.transx, Main.height + Frame.transy,
				(int) -x, 0, (int) -x + Main.width, Main.height, null);
		g.drawImage(title, Main.width / 2 - title.getWidth() / 2 + Frame.transx, 10 + Frame.transy, null);
		for(int i = 0; i < buttons.length; i++)
		{
			buttons[i].draw(g);
		}
	}