/** creates an action with a Cardinal Spline array of points and tension */ public static CCCardinalSplineTo create(float duration, CCPointArray points, float tension) { CCCardinalSplineTo ret = new CCCardinalSplineTo(); ret.initWithDuration(duration, points, tension); return(ret); }
public virtual new CCCardinalSplineTo copyWithZone(CCZone pZone) { CCCardinalSplineTo cCCardinalSplineTo; if (pZone == null || pZone.m_pCopyObject == null) { cCCardinalSplineTo = new CCCardinalSplineTo(); pZone = new CCZone(cCCardinalSplineTo); } else { cCCardinalSplineTo = (CCCardinalSplineTo)pZone.m_pCopyObject; } base.copyWithZone(pZone); cCCardinalSplineTo.initWithDuration(base.duration, this.m_pPoints, this.m_fTension); return(cCCardinalSplineTo); }
// super virtual functions public virtual CCCardinalSplineTo copyWithZone(CCZone pZone) { CCZone pNewZone; CCCardinalSplineTo pRet; if (pZone != null && pZone.m_pCopyObject != null) //in case of being called at sub class { pRet = (CCCardinalSplineTo)(pZone.m_pCopyObject); } else { pRet = new CCCardinalSplineTo(); pZone = pNewZone = new CCZone(pRet); } base.copyWithZone(pZone); pRet.initWithDuration(Duration, m_pPoints, m_fTension); return pRet; }
// super virtual functions public virtual CCCardinalSplineTo copyWithZone(CCZone pZone) { CCZone pNewZone; CCCardinalSplineTo pRet; if (pZone != null && pZone.m_pCopyObject != null) //in case of being called at sub class { pRet = (CCCardinalSplineTo)(pZone.m_pCopyObject); } else { pRet = new CCCardinalSplineTo(); pZone = pNewZone = new CCZone(pRet); } base.copyWithZone(pZone); pRet.initWithDuration(duration, m_pPoints, m_fTension); return(pRet); }
/** creates an action with a Cardinal Spline array of points and tension */ public static CCCardinalSplineTo create(float duration, CCPointArray points, float tension) { CCCardinalSplineTo ret = new CCCardinalSplineTo(); ret.initWithDuration(duration, points, tension); return ret; }
/** creates an action with a Cardinal Spline array of points and tension * @deprecated: This interface will be deprecated sooner or later. */ public static new CCCardinalSplineTo actionWithDuration(float duration, CCPointArray points, float tension) { return(CCCardinalSplineTo.create(duration, points, tension)); }
public virtual CCActionInterval reverse() { CCPointArray pReverse = m_pPoints.reverse(); return(CCCardinalSplineTo.create(m_fDuration, pReverse, m_fTension)); }
public virtual new CCActionInterval reverse() { CCPointArray cCPointArray = this.m_pPoints.reverse(); return(CCCardinalSplineTo.create(this.m_fDuration, cCPointArray, this.m_fTension)); }
protected CCCardinalSplineTo(CCCardinalSplineTo cardinalSplineTo) : base(cardinalSplineTo) { InitWithDuration(cardinalSplineTo.m_fDuration, cardinalSplineTo.m_pPoints, cardinalSplineTo.m_fTension); }