Exemplo n.º 1
0
        public double GetAnimationsStart()
        {
            double start = double.MaxValue;

            if (movingAnimations.HasAnimations())
            {
                start = Math.Min(start, movingAnimations.StartStage);
            }
            if (rotatingAnimations.HasAnimations())
            {
                start = Math.Min(start, rotatingAnimations.StartStage);
            }
            if (framingAnimations.HasAnimations())
            {
                start = Math.Min(start, framingAnimations.StartStage);
            }
            return(start);
        }