Exemplo n.º 1
0
        private IAnimation createLeftRightAnimation(IAnimation animation)
        {
            foreach (var frame in animation.Frames)
            {
                frame.Sprite.Pivot = new PointF(0.5f, 0f);
            }
            IAnimation clone = animation.Clone();

            clone.FlipHorizontally();
            return(clone);
        }