SpriteAnimation constructor
SpriteAnimation(
- List<
SpriteAnimationFrame> frames, { - bool loop = true,
Creates an animation given a list of frames.
Implementation
SpriteAnimation(this.frames, {this.loop = true});