예제 #1
0
 public virtual void Dispose()
 {
     this._invert         = 0f;
     this._factor         = 0f;
     this._resolvedValues = false;
     this._tweener        = null;
 }
예제 #2
0
        public IAni Clone()
        {
            AbstractTween instance = NewInstance();

            if (instance != null)
            {
                instance.CopyFrom(this);
            }
            return(instance);
        }
예제 #3
0
 protected virtual void CopyFrom(AbstractTween source)
 {
     _ticker   = source._ticker;
     _duration = source._duration;
     if (source._classicHandlers != null)
     {
         _classicHandlers = new XObjectHash();
         _classicHandlers.CopyFrom(source._classicHandlers);
     }
 }
예제 #4
0
        /************************************************************************
        *	                Initialize & Destroy Declaration	                *
        ************************************************************************/

        /************************************************************************
        *	                Life Cycle Method Declaration	                    *
        ************************************************************************/

        /************************************************************************
        *	                Coroutine Declaration	                            *
        ************************************************************************/

        /************************************************************************
        *	                Private Method Declaration	                        *
        ************************************************************************/

        /************************************************************************
        *	                Protected Method Declaration	                    *
        ************************************************************************/

        /************************************************************************
        *	                Public Method Declaration	                        *
        ************************************************************************/
        public void Initialize(ITimer ticker, AbstractTween tween)
        {
            _ticker = ticker;
            _tween  = tween;
        }
예제 #5
0
 public void Dispose()
 {
     this._tween  = null;
     this._ticker = null;
 }
예제 #6
0
        /************************************************************************
        *	                Initialize & Destroy Declaration	                *
        ************************************************************************/

        /************************************************************************
        *	                Life Cycle Method Declaration	                    *
        ************************************************************************/
        public WaitForTweenPlay(ITimer ticker, AbstractTween tween)
        {
            _ticker = ticker;
            _tween  = tween;
        }