public static CCJumpTiles3D actionWithJumps(int j, float amp, ccGridSize gridSize, float duration) { CCJumpTiles3D cCJumpTiles3D = new CCJumpTiles3D(); if (cCJumpTiles3D.initWithJumps(j, amp, gridSize, duration)) { return(cCJumpTiles3D); } return(null); }
public static CCJumpTiles3D actionWithJumps(int j, float amp, ccGridSize gridSize, float duration) { CCJumpTiles3D pAction = new CCJumpTiles3D(); if (pAction.initWithJumps(j, amp, gridSize, duration)) { return pAction; } return null; }
public override CCObject copyWithZone(CCZone pZone) { CCJumpTiles3D cCJumpTiles3D = null; if (pZone == null || pZone.m_pCopyObject == null) { cCJumpTiles3D = new CCJumpTiles3D(); pZone = new CCZone(cCJumpTiles3D); } else { cCJumpTiles3D = (CCJumpTiles3D)pZone.m_pCopyObject; } base.copyWithZone(pZone); cCJumpTiles3D.initWithJumps(this.m_nJumps, this.m_fAmplitude, this.m_sGridSize, this.m_fDuration); return(cCJumpTiles3D); }
/** */ public static CCJumpTiles3D actionWithJumps(int j, float amp, ccGridSize gridSize, float duration) { CCJumpTiles3D pAction = new CCJumpTiles3D(); if (pAction != null) { if (pAction.initWithJumps(j, amp, gridSize, duration)) { //pAction->autorelease(); } else { //CC_SAFE_RELEASE_NULL(pAction); } } return pAction; }
public override object Copy(ICopyable pZone) { CCJumpTiles3D pCopy; if (pZone != null) { pCopy = (CCJumpTiles3D) (pZone); } else { pCopy = new CCJumpTiles3D(); pZone = (pCopy); } base.Copy(pZone); pCopy.InitWithJumps(m_nJumps, m_fAmplitude, m_sGridSize, m_fDuration); return pCopy; }
public override CCObject copyWithZone(CCZone pZone) { CCZone pNewZone = null; CCJumpTiles3D pCopy = null; if (pZone != null && pZone.m_pCopyObject != null) { pCopy = (CCJumpTiles3D)(pZone.m_pCopyObject); } else { pCopy = new CCJumpTiles3D(); pZone = pNewZone = new CCZone(pCopy); } base.copyWithZone(pZone); pCopy.initWithJumps(m_nJumps, m_fAmplitude, m_sGridSize, Duration); //CC_SAFE_DELETE(pNewZone); pNewZone = null; return pCopy; }
public override CCObject copyWithZone(CCZone pZone) { CCZone pNewZone = null; CCJumpTiles3D pCopy = null; if (pZone != null && pZone.m_pCopyObject != null) { pCopy = (CCJumpTiles3D)(pZone.m_pCopyObject); } else { pCopy = new CCJumpTiles3D(); pZone = pNewZone = new CCZone(pCopy); } base.copyWithZone(pZone); pCopy.initWithJumps(m_nJumps, m_fAmplitude, m_sGridSize, Duration); //CC_SAFE_DELETE(pNewZone); pNewZone = null; return(pCopy); }
public static CCJumpTiles3D Create(int j, float amp, CCGridSize gridSize, float duration) { var pAction = new CCJumpTiles3D(); pAction.InitWithJumps(j, amp, gridSize, duration); return pAction; }