Skip to main content

CCAction

CCAction

Cocos2D

Inheritance: System.Object

Implements: Cocos2D.ICCCopyable

Constructors

CCAction()

CCAction()()

CCAction(CCAction)

CCAction(CCAction)(Cocos2D.CCAction action)
Parameters:
action (Cocos2D.CCAction)

Fields

kInvalidTag(System.Int32)
m_nTag(System.Int32)
m_pOriginalTarget(Cocos2D.CCNode)
m_pTarget(Cocos2D.CCNode)

Properties

IsDone(System.Boolean)
OriginalTarget(Cocos2D.CCNode)
Tag(System.Int32)
Target(Cocos2D.CCNode)

Methods

Copy()

Cocos2D.CCAction Copy()()
Returns:
Cocos2D.CCAction

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

StartWithTarget(CCNode)

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

Step(float)

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

Stop()

Stop()()

Update(float)

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