public override CCObject copyWithZone(CCZone zone) { CCZone tmpZone = zone; CCReverseTime ret = null; if (tmpZone != null && tmpZone.m_pCopyObject != null) { ret = tmpZone.m_pCopyObject as CCReverseTime; if (ret == null) { return null; } } else { ret = new CCReverseTime(); tmpZone = new CCZone(ret); } base.copyWithZone(tmpZone); ret.initWithAction(m_pOther.copy() as CCFiniteTimeAction); return ret; }
public override CCObject copyWithZone(CCZone zone) { CCZone tmpZone = zone; CCReverseTime ret = null; if (tmpZone != null && tmpZone.m_pCopyObject != null) { ret = tmpZone.m_pCopyObject as CCReverseTime; if (ret == null) { return(null); } } else { ret = new CCReverseTime(); tmpZone = new CCZone(ret); } base.copyWithZone(tmpZone); ret.initWithAction(m_pOther.copy() as CCFiniteTimeAction); return(ret); }
public static CCReverseTime actionWithAction(CCFiniteTimeAction action) { CCReverseTime ret = new CCReverseTime(); ret.initWithAction(action); return ret; }
public static CCReverseTime actionWithAction(CCFiniteTimeAction action) { CCReverseTime cCReverseTime = new CCReverseTime(); cCReverseTime.initWithAction(action); return(cCReverseTime); }
public CCActionInterval actionWithSize(ccGridSize vector) { if (!this.m_bBack) { return(CCPageTurn3D.actionWithSize(vector, this.m_fDuration)); } return(CCReverseTime.actionWithAction(CCPageTurn3D.actionWithSize(vector, this.m_fDuration))); }
public static CCReverseTime actionWithAction(CCFiniteTimeAction action) { CCReverseTime ret = new CCReverseTime(); ret.initWithAction(action); return(ret); }
public CCActionInterval actionWithSize(ccGridSize vector) { if (m_bBack) { // Get hold of the PageTurn3DAction return CCReverseTime.actionWithAction ( CCPageTurn3D.actionWithSize(vector, m_fDuration) ); } else { // Get hold of the PageTurn3DAction return CCPageTurn3D.actionWithSize(vector, m_fDuration); } }
public override CCObject copyWithZone(CCZone zone) { CCZone cCZone = zone; CCReverseTime cCReverseTime = null; if (cCZone == null || cCZone.m_pCopyObject == null) { cCReverseTime = new CCReverseTime(); cCZone = new CCZone(cCReverseTime); } else { cCReverseTime = cCZone.m_pCopyObject as CCReverseTime; if (cCReverseTime == null) { return(null); } } base.copyWithZone(cCZone); cCReverseTime.initWithAction(this.m_pOther.copy() as CCFiniteTimeAction); return(cCReverseTime); }
public override CCFiniteTimeAction reverse() { return(CCReverseTime.actionWithAction(this)); }
protected CCReverseTime(CCReverseTime copy) : base(copy) { m_pOther = copy.m_pOther; }