public Sprite GetFrame(Animation animation, Orientation orientation, ref int frame)
        {
            var sprites = _animationDictionary[animation][orientation];

            frame++;

            if (frame >= sprites.Length)
            {
                frame = 0;
            }

            return(sprites[frame]);
        }
 public static Image GetPartialSpriteSheet(ICharacterSpriteDefinition sprite, Animation animation, Orientation orientation)
 {
     var(row, _) = Settings.SpriteSheetAnimationDefinition[(animation, orientation)];