public static new CCEaseBounce actionWithAction(CCActionInterval pAction) { CCEaseBounce cCEaseBounce = new CCEaseBounce(); if (cCEaseBounce != null) { cCEaseBounce.initWithAction(pAction); } return(cCEaseBounce); }
public override CCObject copyWithZone(CCZone pZone) { CCEaseBounce cCEaseBounce = null; if (pZone == null || pZone.m_pCopyObject == null) { cCEaseBounce = new CCEaseBounce(); pZone = new CCZone(cCEaseBounce); } else { cCEaseBounce = pZone.m_pCopyObject as CCEaseBounce; } cCEaseBounce.initWithAction((CCActionInterval)this.m_pOther.copy()); return(cCEaseBounce); }
/// <summary> /// creates the action /// </summary> /// <param name="pAction"></param> /// <returns></returns> public new static CCEaseBounce actionWithAction(CCActionInterval pAction) { CCEaseBounce pRet = new CCEaseBounce(); if (pRet != null) { if (pRet.initWithAction(pAction)) { //pRet.autorelease(); } else { //CC_SAFE_RELEASE_NULL(pRet); } } return pRet; }
/// <summary> /// creates the action /// </summary> /// <param name="pAction"></param> /// <returns></returns> public new static CCEaseBounce actionWithAction(CCActionInterval pAction) { CCEaseBounce pRet = new CCEaseBounce(); if (pRet != null) { if (pRet.initWithAction(pAction)) { //pRet.autorelease(); } else { //CC_SAFE_RELEASE_NULL(pRet); } } return(pRet); }
public override CCObject copyWithZone(CCZone pZone) { CCZone pNewZone = null; CCEaseBounce pCopy = null; if (pZone != null && pZone.m_pCopyObject != null) { //in case of being called at sub class pCopy =pZone.m_pCopyObject as CCEaseBounce; } else { pCopy = new CCEaseBounce(); pZone = pNewZone = new CCZone(pCopy); } pCopy.initWithAction((CCActionInterval)(m_pOther.copy())); return pCopy; }
public override CCObject copyWithZone(CCZone pZone) { CCZone pNewZone = null; CCEaseBounce pCopy = null; if (pZone != null && pZone.m_pCopyObject != null) { //in case of being called at sub class pCopy = pZone.m_pCopyObject as CCEaseBounce; } else { pCopy = new CCEaseBounce(); pZone = pNewZone = new CCZone(pCopy); } pCopy.initWithAction((CCActionInterval)(m_pOther.copy())); return(pCopy); }