Example #1
0
        public override object Copy(ICCCopyable pZone)
        {
            CCBRotateTo pRet;

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

            pRet.InitWithDuration(m_fDuration, mDstAngle);
            base.Copy(pZone);
            return(pRet);
        }
        public override object Copy(ICopyable pZone)
        {
            CCBRotateTo pRet;

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

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