Skip to main content

CCActionInstant

CCActionInstant

Cocos2D

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

Implements: Cocos2D.ICCCopyable

Constructors

CCActionInstant()

CCActionInstant()()

CCActionInstant(CCActionInstant)

CCActionInstant(CCActionInstant)(Cocos2D.CCActionInstant actionInstant)
Parameters:
actionInstant (Cocos2D.CCActionInstant)

Properties

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

Reverse()

Cocos2D.CCFiniteTimeAction Reverse()()

Does nothing by default.

Returns:
Cocos2D.CCFiniteTimeAction
Example

Step(float)

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

Update(float)

Update(float)(System.Single time)
Parameters:
time (System.Single)
Example