reversed method
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);
}
Returns a new Animation based on this animation, but with its frames in reversed order
SpriteAnimation reversed() {
return SpriteAnimation(frames.reversed.toList(), loop: loop);
}