public static CCActionInterval actionWithDuration(float t) { CCFlipX3D flipx = new CCFlipX3D(t); CCFiniteTimeAction flipx_back = flipx.Reverse(); CCDelayTime delay = new CCDelayTime (2); return (CCSequence.FromActions(flipx, delay, flipx_back)); }
public static new CCFlipX3D actionWithDuration(float duration) { CCFlipX3D cCFlipX3D = new CCFlipX3D(); if (cCFlipX3D.initWithSize(new ccGridSize(1, 1), duration)) { return(cCFlipX3D); } return(null); }
/// <summary> /// creates the action with duration /// </summary> public static new CCFlipX3D actionWithDuration(float duration) { CCFlipX3D pAction = new CCFlipX3D(); if (pAction.initWithSize(new ccGridSize(1, 1), duration)) { return pAction; } return null; }
/// <summary> /// creates the action with duration /// </summary> public new static CCFlipX3D actionWithDuration(float duration) { CCFlipX3D pAction = new CCFlipX3D(); if (pAction.initWithSize(new ccGridSize(1, 1), duration)) { return(pAction); } return(null); }
public override CCObject copyWithZone(CCZone pZone) { CCFlipX3D cCFlipX3D = null; if (pZone == null || pZone.m_pCopyObject == null) { cCFlipX3D = new CCFlipX3D(); pZone = new CCZone(cCFlipX3D); } else { cCFlipX3D = (CCFlipX3D)pZone.m_pCopyObject; } base.copyWithZone(pZone); cCFlipX3D.initWithSize(this.m_sGridSize, this.m_fDuration); return(cCFlipX3D); }
/** creates the action with duration */ public static CCFlipX3D actionWithDuration(float duration) { CCFlipX3D pAction = new CCFlipX3D(); if (pAction != null) { if (pAction.initWithSize(new ccGridSize(1, 1), duration)) { // pAction->autorelease(); } else { // CC_SAFE_RELEASE_NULL(pAction); } } return pAction; }
public override object Copy(ICopyable pZone) { CCFlipX3D pCopy; if (pZone != null) { //in case of being called at sub class pCopy = (CCFlipX3D) (pZone); } else { pCopy = new CCFlipX3D(); pZone = pCopy; } base.Copy(pZone); pCopy.InitWithSize(m_sGridSize, m_fDuration); return pCopy; }
public override CCObject copyWithZone(CCZone pZone) { CCZone pNewZone = null; CCFlipX3D pCopy = null; if (pZone != null && pZone.m_pCopyObject != null) { //in case of being called at sub class pCopy = (CCFlipX3D)(pZone.m_pCopyObject); } else { pCopy = new CCFlipX3D(); pZone = pNewZone = new CCZone(pCopy); } // CCGrid3DAction::copyWithZone(pZone); pCopy.initWithSize(m_sGridSize, m_fDuration); // CC_SAFE_DELETE(pNewZone); return pCopy; }
public override CCObject copyWithZone(CCZone pZone) { CCZone pNewZone = null; CCFlipX3D pCopy = null; if (pZone != null && pZone.m_pCopyObject != null) { //in case of being called at sub class pCopy = (CCFlipX3D)(pZone.m_pCopyObject); } else { pCopy = new CCFlipX3D(); pZone = pNewZone = new CCZone(pCopy); } base.copyWithZone(pZone); pCopy.initWithSize(m_sGridSize, m_fDuration); // CC_SAFE_DELETE(pNewZone); return(pCopy); }
public CCFlipX3D(CCFlipX3D flipX3D) { InitWithSize(flipX3D.m_sGridSize, flipX3D.m_fDuration); }
public static new CCFlipX3D Create(float duration) { var pAction = new CCFlipX3D(); pAction.InitWithSize(new CCGridSize(1, 1), duration); return pAction; }