copy method

  1. @override
void copy(
  1. covariant Core<CoreContext> source
)
override

Copies property values, currently doesn't trigger change callbacks. It's meant to be a helper for clone.

Implementation

@override
void copy(Core source) {
  super.copy(source);
  if (source is TransformComponentBase) {
    _rotation = source._rotation;
    _scaleX = source._scaleX;
    _scaleY = source._scaleY;
  }
}