ControlledUpdateAnimation.fromSpriteAnimation constructor

ControlledUpdateAnimation.fromSpriteAnimation(
  1. SpriteAnimation animation
)

Implementation

ControlledUpdateAnimation.fromSpriteAnimation(SpriteAnimation animation) {
  this.animation = SpriteAnimationRender(
    animation: animation,
  );
}