Ejemplo n.º 1
0
        public static CCCallFunc actionWithTarget(SelectorProtocol pSelectorTarget, SEL_CallFunc selector)
        {
            CCCallFunc cCCallFunc = new CCCallFunc();

            if (cCCallFunc == null || !cCCallFunc.initWithTarget(pSelectorTarget))
            {
                return(null);
            }
            cCCallFunc.m_pCallFunc = selector;
            return(cCCallFunc);
        }
Ejemplo n.º 2
0
        public static CCCallFunc actionWithTarget(SelectorProtocol pSelectorTarget, SEL_CallFunc selector)
        {
            CCCallFunc pRet = new CCCallFunc();

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

            return(null);
        }
Ejemplo n.º 3
0
        public static CCCallFunc actionWithTarget(SelectorProtocol pSelectorTarget, SEL_CallFunc selector)
        {
	        CCCallFunc pRet = new CCCallFunc();

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

	        return null;
        }