Esempio n. 1
0
        public static CCCallFuncO actionWithTarget(SelectorProtocol pSelectorTarget, SEL_CallFuncO selector, CCObject pObject)
        {
            CCCallFuncO cCCallFuncO = new CCCallFuncO();

            if (cCCallFuncO != null && cCCallFuncO.initWithTarget(pSelectorTarget, selector, pObject))
            {
                return(cCCallFuncO);
            }
            return(null);
        }
Esempio n. 2
0
        public static CCCallFuncO actionWithTarget(SelectorProtocol pSelectorTarget, SEL_CallFuncO selector, CCObject pObject)
        {
            CCCallFuncO pRet = new CCCallFuncO();

            if (pRet != null && pRet.initWithTarget(pSelectorTarget, selector, pObject))
            {
                return pRet;
            }

            return null;
        }
Esempio n. 3
0
        public static CCCallFuncO actionWithTarget(SelectorProtocol pSelectorTarget, SEL_CallFuncO selector, CCObject pObject)
        {
            CCCallFuncO pRet = new CCCallFuncO();

            if (pRet != null && pRet.initWithTarget(pSelectorTarget, selector, pObject))
            {
                return(pRet);
            }

            return(null);
        }
Esempio n. 4
0
        public override CCObject copyWithZone(CCZone zone)
        {
            CCCallFuncO cCCallFuncO = null;

            if (zone == null || zone.m_pCopyObject == null)
            {
                cCCallFuncO = new CCCallFuncO();
                zone        = new CCZone(cCCallFuncO);
            }
            else
            {
                cCCallFuncO = (CCCallFuncO)zone.m_pCopyObject;
            }
            base.copyWithZone(zone);
            cCCallFuncO.initWithTarget(this.m_pSelectorTarget, this.m_pCallFuncO, this.m_pObject);
            return(cCCallFuncO);
        }
Esempio n. 5
0
        // super methods
        public override CCObject copyWithZone(CCZone zone)
        {
            CCZone pNewZone = null;
            CCCallFuncO pRet = null;

            if (zone != null && zone.m_pCopyObject != null)
            {
                //in case of being called at sub class
                pRet = (CCCallFuncO)(zone.m_pCopyObject);
            }
            else
            {
                pRet = new CCCallFuncO();
                zone = pNewZone = new CCZone(pRet);
            }

            base.copyWithZone(zone);
            pRet.initWithTarget(m_pSelectorTarget, m_pCallFuncO, m_pObject);
            return pRet;
        }
Esempio n. 6
0
        // super methods
        public override CCObject copyWithZone(CCZone zone)
        {
            CCZone      pNewZone = null;
            CCCallFuncO pRet     = null;

            if (zone != null && zone.m_pCopyObject != null)
            {
                //in case of being called at sub class
                pRet = (CCCallFuncO)(zone.m_pCopyObject);
            }
            else
            {
                pRet = new CCCallFuncO();
                zone = pNewZone = new CCZone(pRet);
            }

            base.copyWithZone(zone);
            pRet.initWithTarget(m_pSelectorTarget, m_pCallFuncO, m_pObject);
            return(pRet);
        }