示例#1
0
        public override object Copy(ICCCopyable pZone)
        {
            CCBRotateXTo pRet;

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

            pRet.InitWithDuration(m_fDuration, _dstAngle);
            base.Copy(pZone);
            return(pRet);
        }
示例#2
0
        public override object Copy(ICCCopyable pZone)
        {
            CCBRotateXTo pRet;

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

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