コード例 #1
0
        public override CCObject copyWithZone(CCZone zone)
        {
            CCZone          cCZone          = zone;
            CCActionInstant cCActionInstant = null;

            if (cCZone == null || cCZone.m_pCopyObject == null)
            {
                cCActionInstant = new CCActionInstant();
                cCZone          = new CCZone(cCActionInstant);
            }
            else
            {
                cCActionInstant = (CCActionInstant)cCZone.m_pCopyObject;
            }
            base.copyWithZone(cCZone);
            return(cCActionInstant);
        }
コード例 #2
0
        public override CCObject copyWithZone(CCZone zone)
        {
            CCZone tmpZone = zone;
            CCActionInstant ret = null;

            if (tmpZone != null && tmpZone.m_pCopyObject != null)
            {
                ret = (CCActionInstant)tmpZone.m_pCopyObject;
            }
            else
            {
                ret = new CCActionInstant();
                tmpZone = new CCZone(ret);
            }

            base.copyWithZone(tmpZone);
            return ret;
        }
コード例 #3
0
        public override CCObject copyWithZone(CCZone zone)
        {
            CCZone          tmpZone = zone;
            CCActionInstant ret     = null;

            if (tmpZone != null && tmpZone.m_pCopyObject != null)
            {
                ret = (CCActionInstant)tmpZone.m_pCopyObject;
            }
            else
            {
                ret     = new CCActionInstant();
                tmpZone = new CCZone(ret);
            }

            base.copyWithZone(tmpZone);
            return(ret);
        }