public static CCSpeed actionWithAction(CCActionInterval action, float fRate) { CCSpeed ret = new CCSpeed(); if (ret != null && ret.initWithAction(action, fRate)) { return(ret); } return(null); }
public override CCObject copyWithZone(CCZone zone) { CCZone tmpZone = null; CCSpeed ret = null; if (tmpZone != null && tmpZone.m_pCopyObject != null) { ret = (CCSpeed)tmpZone.m_pCopyObject; } else { ret = new CCSpeed(); tmpZone = new CCZone(ret); } base.copyWithZone(zone); ret.initWithAction((CCActionInterval)m_pInnerAction.copy(), m_fSpeed); return(ret); }
public virtual CCActionInterval reverse() { return((CCActionInterval)(CCAction)CCSpeed.actionWithAction((CCActionInterval)m_pInnerAction.reverse(), m_fSpeed)); }