reversed method

SpriteAnimation reversed()

Returns a new Animation based on this animation, but with its frames in reversed order

Implementation

SpriteAnimation reversed() {
  return SpriteAnimation(frames.reversed.toList(), loop: loop);
}