public void draw(Graphics2D g)
	{
		if (isSingleImage) 
		{
			g.drawImage(bg, pos, 0, GamePanel.WIDTH-vel, GamePanel.HEIGHT, null);
			
			if (pos < 0)
			{
				pos = 0 + GamePanel.WIDTH;
				g.drawImage(bg, pos + GamePanel.WIDTH, 0, GamePanel.WIDTH, GamePanel.HEIGHT, null);
			}
			else if (pos > 0)
			{
				g.drawImage(bg, pos - GamePanel.WIDTH, 0, GamePanel.WIDTH, GamePanel.HEIGHT, null);
			}
		}
		else			
		{
			g.drawImage(bgFrames[happinessScale], pos, 0, GamePanel.WIDTH-vel, GamePanel.HEIGHT, null);
			if (pos < 0)
			{
				pos = 0 + GamePanel.WIDTH;
				g.drawImage(bgFrames[happinessScale], pos + GamePanel.WIDTH, 0, GamePanel.WIDTH, GamePanel.HEIGHT, null);
			}
			else if (pos > 0)
			{
				g.drawImage(bgFrames[happinessScale], pos - GamePanel.WIDTH, 0, GamePanel.WIDTH, GamePanel.HEIGHT, null);
			}
		}
	}