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); }
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; }
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); }
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); }
// 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; }
// 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); }