public void update() 
	{
		bg.update(heart.currentHappinessLevel);
		heart.update();
		
		for(int i=0; i<stars.size(); i++)
		{
			stars.get(i).update();
			if(stars.get(i).xPos < 0)
			{
				stars.remove(i);
			}
		}
		
		if (spaceCount > 5)
		{
			checkpoint1 = false;
			checkpoint2 = true;
		}
		
		if (gsm.score > 2)
		{
			checkpoint1 = false;
			checkpoint2 = false;
			checkpoint3 = true;
		}
		
		if (gsm.score > 4)
		{
			checkpoint1 = false;
			checkpoint2 = false;
			checkpoint3 = false;
			checkpoint4 = true;
		}
	}