Пример #1
0
        private void RefreshAnimation()
        {
            if (CurrentAnimation == null)
            {
                return;
            }

            CurrentAnimation.Clear();
            foreach (var frameContainer in _frameContainers)
            {
                if (frameContainer.Frame != null)
                {
                    CurrentAnimation.AddFrame(frameContainer.Frame);
                }
            }
        }