public static CCCallFuncND actionWithTarget(SelectorProtocol pSelectorTarget, SEL_CallFuncND selector, object d) { CCCallFuncND pRet = new CCCallFuncND(); if (pRet != null && pRet.initWithTarget(pSelectorTarget, selector, d)) { return(pRet); } return(null); }
public override CCObject copyWithZone(CCZone zone) { CCZone pNewZone = null; CCCallFuncND pRet = null; if (zone != null && zone.m_pCopyObject != null) { //in case of being called at sub class pRet = (CCCallFuncND)(zone.m_pCopyObject); } else { pRet = new CCCallFuncND(); zone = pNewZone = new CCZone(pRet); } base.copyWithZone(zone); pRet.initWithTarget(m_pSelectorTarget, m_pCallFuncND, m_pData); return(pRet); }