if (status != ALIVE) { return true;
if (status != ALIVE) { return true; } currentAge += secondsPassed * 1000; if (currentAge > lifeSpan) { status = DEAD; currColor.a = 0; return true; }  speed.scaleAdd(secondsPassed * 1000f, parent.getGravityForce(), speed); location.scaleAdd(secondsPassed * 1000f, speed, location); spinAngle = spinAngle + parent.getParticleSpinSpeed() * secondsPassed * 100f;  if (parent.getRandomMod() != 0.0f) { location.addLocal(parent.getRandomMod() * 2 * (FastMath.nextRandomFloat() - .5f), 0.0f, parent .getRandomMod() * 2 * (FastMath.nextRandomFloat() - .5f)); }  lifeRatio = currentAge / lifeSpan;     currentSize = parent.getStartSize(); currentSize -= ((currentSize - parent.getEndSize()) * lifeRatio);   currColor.set(startColor); currColor.r -= rChange * lifeRatio; currColor.g -= gChange * lifeRatio; currColor.b -= bChange * lifeRatio; currColor.a -= aChange * lifeRatio;    return false;
  public boolean updateAndCheck(float secondsPassed) {    if (status != ALIVE) {      return true;    }    currentAge += secondsPassed * 1000; // add time to age    if (currentAge > lifeSpan) {      status = DEAD;      currColor.a = 0;      return true;    }    speed.scaleAdd(secondsPassed*1000f, parent.getGravityForce(), speed);    location.scaleAdd(secondsPassed*1000f, speed, location);    spinAngle = spinAngle + parent.getParticleSpinSpeed()*secondsPassed*100f;    if (parent.getRandomMod() != 0.0f) {      location.addLocal(parent.getRandomMod() *                        2 * (FastMath.nextRandomFloat() - .5f),                        0.0f,                        parent.getRandomMod() *                        2 * (FastMath.nextRandomFloat() - .5f));    }    lifeRatio = currentAge / lifeSpan;    // update the size, currently, the size    // updates both the x and y values. So you always    // get a square    currentSize = parent.getStartSize();    currentSize -=        ( (currentSize - parent.getEndSize()) * lifeRatio);    // interpolate colors    currColor.set(startColor);    currColor.r -= rChange * lifeRatio;    currColor.g -= gChange * lifeRatio;    currColor.b -= bChange * lifeRatio;    currColor.a -= aChange * lifeRatio;    updateVerts();    return false;  }