update method

  1. @override
void update(
  1. int dirt
)
override

Implementation

@override
void update(int dirt) {
  if ((dirt & transformDirty) == transformDirty) {
    updateTransform();
  }
  if ((dirt & worldTransformDirty) == worldTransformDirty) {
    updateWorldTransform();
    if (_constraints != null) {
      for (final ActorConstraint constraint in _constraints!) {
        if (constraint.isEnabled) {
          constraint.constrain(this);
        }
      }
    }
  }
}