public override CCObject copyWithZone(CCZone zone) { CCZone tmpZone = zone; CCRepeatForever ret = null; if (tmpZone != null && tmpZone.m_pCopyObject != null) { ret = tmpZone.m_pCopyObject as CCRepeatForever; if (ret == null) { return(null); } } else { ret = new CCRepeatForever(); tmpZone = new CCZone(ret); } base.copyWithZone(tmpZone); CCActionInterval param = m_pInnerAction.copy() as CCActionInterval; if (param == null) { return(null); } ret.initWithAction(param); return(ret); }
public static CCRepeatForever actionWithAction(CCActionInterval action) { CCRepeatForever ret = new CCRepeatForever(); ret.initWithAction(action); return(ret); }
public override CCFiniteTimeAction reverse() { return(CCRepeatForever.actionWithAction(m_pInnerAction.reverse() as CCActionInterval)); }