advance method

bool advance(
  1. double elapsedSeconds
)

Implementation

bool advance(double elapsedSeconds) {
  if (mountedArtboard == null || isCollapsed) {
    return false;
  }

  bool keepGoing = false;
  for (final animation in _animations) {
    if (animation.isEnabled) {
      if (animation.advance(elapsedSeconds, mountedArtboard!)) {
        keepGoing = true;
      }
    }
  }
  if (mountedArtboard!.advance(elapsedSeconds)) {
    keepGoing = true;
  }
  return keepGoing;
}