コード例 #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);
        }
コード例 #2
0
        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;
        }