Esempio n. 1
0
        public override object Copy(ICCCopyable pZone)
        {
            CCBRotateYTo pRet;

            if (pZone != null)
            {
                pRet = (CCBRotateYTo)(pZone);
            }
            else
            {
                pRet  = new CCBRotateYTo();
                pZone = (pRet);
            }

            pRet.InitWithDuration(m_fDuration, _dstAngle);
            base.Copy(pZone);
            return(pRet);
        }
Esempio n. 2
0
        public override object Copy(ICCCopyable pZone)
        {
            CCBRotateYTo pRet;

            if (pZone != null)
            {
                pRet = (CCBRotateYTo)(pZone);
            }
            else
            {
                pRet = new CCBRotateYTo();
                pZone = (pRet);
            }

            pRet.InitWithDuration(m_fDuration, _dstAngle);
            base.Copy(pZone);
            return pRet;
        }