Skip to main content

CCActionInterval

CCActionInterval

Cocos2D

Inheritance: System.Object → Cocos2D.CCAction → Cocos2D.CCFiniteTimeAction

Implements: Cocos2D.ICCCopyable

Constructors

CCActionInterval()

CCActionInterval()()

CCActionInterval(CCActionInterval)

CCActionInterval(CCActionInterval)(Cocos2D.CCActionInterval actionInterval)
Parameters:
actionInterval (Cocos2D.CCActionInterval)

CCActionInterval(CCFiniteTimeAction)

CCActionInterval(CCFiniteTimeAction)(Cocos2D.CCFiniteTimeAction actionInterval)
Parameters:
actionInterval (Cocos2D.CCFiniteTimeAction)

CCActionInterval(float)

CCActionInterval(float)(System.Single d)
Parameters:
d (System.Single)

Fields

m_bFirstTick(System.Boolean)
m_elapsed(System.Single)

Properties

AmplitudeRate(System.Single)
Elapsed(System.Single)
IsDone(System.Boolean)

Methods

Copy(ICCCopyable)

System.Object Copy(ICCCopyable)(Cocos2D.ICCCopyable zone)

Copy/Duplicatae protocol for making a self copy of this object instance. If null is given as the parameter then selfie of this instance is returned. Otherwise, the state of this instance is copied to the given target.

Parameters:
zone (Cocos2D.ICCCopyable)
Returns:
System.Object
Example

InitWithDuration(float)

System.Boolean InitWithDuration(float)(System.Single d)
Parameters:
d (System.Single)
Returns:
System.Boolean

Reverse()

Cocos2D.CCFiniteTimeAction Reverse()()

Does nothing by default.

Returns:
Cocos2D.CCFiniteTimeAction
Example

StartWithTarget(CCNode)

StartWithTarget(CCNode)(Cocos2D.CCNode target)
Parameters:
target (Cocos2D.CCNode)
Example

Step(float)

Step(float)(System.Single dt)
Parameters:
dt (System.Single)
Example