update method
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);
}
}
}
}
}