SpriteAnimation constructor

SpriteAnimation(
  1. List<SpriteAnimationFrame> frames, {
  2. bool loop = true,
})