Пример #1
0
 private void CurrentTween_Progress(object sender, TweenEventArgs e)
 {
     OnProgress();
 }
Пример #2
0
        private void Tween_Complete(object sender, TweenEventArgs e)
        {
            ((ITween)sender).Complete -= new TweenEventHandler(Tween_Complete);

            _tweensComplete++;

            if (_tweensComplete >= Tweens.Count)
                OnComplete();
        }
Пример #3
0
        private void CurrentTween_Complete(object sender, TweenEventArgs e)
        {
            base.OnProgress();

            RemoveTweenHandlers(e.Tween);

            if (CurrentTweenIndex == Tweens.Count - 1 )
            {
                OnComplete();

                return;

            }//end if

            CurrentTweenIndex++;

            BeginTween();
        }