completeResolve method

  1. @override
void completeResolve()
override

Implementation

@override
void completeResolve() {
  //super.completeResolve();
  ActorBone bone = parent as ActorBone;
  bone.jelly = this;

  // Get jellies.
  var children = bone.children;
  if (children == null) {
    return;
  }

  _bones = <ActorJellyBone>[];
  for (final child in children) {
    if (child is ActorJellyBone) {
      _bones!.add(child);
      // Make sure the jelly doesn't update until
      // the jelly component has updated
      artboard.addDependency(child, this);
    }
  }
}