Exemple #1
0
 public SlideInEffect(Widget widget, float time, FourWayDirection direction, SlideInEffectInterpolator interpolator)
 {
     base.Widget             = widget;
     this.Time               = time;
     this.Interpolator       = interpolator;
     this.CustomInterpolator = null;
     this.MoveDirection      = direction;
 }
Exemple #2
0
        public static SlideInEffect CreateAndStart(Widget widget, float time, FourWayDirection direction, SlideInEffectInterpolator interpolator)
        {
            SlideInEffect slideInEffect = new SlideInEffect(widget, time, direction, interpolator);

            slideInEffect.Start();
            return(slideInEffect);
        }