forward method

  1. @mustCallSuper
dynamic forward(
  1. int elapsedMillis
)

Advances the effect animation based on the elapsed time in milliseconds. This method is automatically called to update the particle animation.

Implementation

@mustCallSuper
forward(int elapsedMillis) {
  totalElapsed += elapsedMillis;
  _emitParticles();
  _cleanParticles();
  _updateParticles();
  _killEffectWhenOver();
}