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; }
public static SlideInEffect CreateAndStart(Widget widget, float time, FourWayDirection direction, SlideInEffectInterpolator interpolator) { SlideInEffect slideInEffect = new SlideInEffect(widget, time, direction, interpolator); slideInEffect.Start(); return(slideInEffect); }