public LoopedSpriteAnimation(String name, SpriteAnimationFrame[] frames)
     : base(name, frames)
 {
 }
        public SpriteAnimation(String name, SpriteAnimationFrame[] frames)
        {
            Verify.That(name).Named("name").IsNotNull();
            _name = name;

            if (frames.Length <= 0)
                throw new InvalidOperationException("At least one frame is needed.");

            _frames = frames;
        }