public void update()
	{
		//if it has a box, then it can flash when the mouse is inside it
		if(hasBox)
		{
			if(boundingBox.contains(Game.mpoint))
				isFlashing = true;
			else
				isFlashing = false;
		}
		
		//controls the flashing
		if(isFlashing)
		{
			if(increment && a < .9f)
			{
				a += 0.03f;
				if(a >= .9f)
				{
					increment = false;
					decrement = true;
				}
			}	
			else if(decrement && a > .1f)
			{
				a -= 0.03f;
				if(a <= .1f)
				{
					increment = true;
					decrement = false;
				}
			}
		}
	}