private void CurrentTween_Progress(object sender, TweenEventArgs e) { OnProgress(); }
private void Tween_Complete(object sender, TweenEventArgs e) { ((ITween)sender).Complete -= new TweenEventHandler(Tween_Complete); _tweensComplete++; if (_tweensComplete >= Tweens.Count) OnComplete(); }
private void CurrentTween_Complete(object sender, TweenEventArgs e) { base.OnProgress(); RemoveTweenHandlers(e.Tween); if (CurrentTweenIndex == Tweens.Count - 1 ) { OnComplete(); return; }//end if CurrentTweenIndex++; BeginTween(); }