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