示例#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();
        }