public void update(boolean shouldUpdate)
	{
		if(shouldUpdate == false) return;
		
		if(flashFlag == true)
		{
			setColor(Color.red);
			damageTime++;
		}
		
		if(damageTime == 10)
		{
			damageTime = 0;
			flashFlag = false;
		}
		
		if(flashFlag == false) setColor(originalColor);
		
		if(countDown == true)
		{
			setX(getX() - getMoveSpeed());
			countUp = false;
			
			if(getX() == initialX - 20 * getMoveSpeed())
			{
				countUp = true;
				countDown = false;
			}
		}
		else if(countUp == true)
		{
			setX(getX() + getMoveSpeed());
			countDown = false;
			
			if(getX() == initialX + 20 * getMoveSpeed()) countDown = true;
		}
	}