Skip to main content

CCRepeat

CCRepeat

Cocos2D

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

Implements: Cocos2D.ICCCopyable

Constructors

CCRepeat(CCFiniteTimeAction, uint)

CCRepeat(CCFiniteTimeAction, uint)(Cocos2D.CCFiniteTimeAction action, System.UInt32 times)
Parameters:
action (Cocos2D.CCFiniteTimeAction)
times (System.UInt32)

CCRepeat(CCRepeat)

CCRepeat(CCRepeat)(Cocos2D.CCRepeat repeat)
Parameters:
repeat (Cocos2D.CCRepeat)

Fields

m_bActionInstant(System.Boolean)
m_fNextDt(System.Single)
m_pInnerAction(Cocos2D.CCFiniteTimeAction)
m_uTimes(System.UInt32)
m_uTotal(System.UInt32)

Properties

InnerAction(Cocos2D.CCFiniteTimeAction)
IsDone(System.Boolean)

Methods

Copy(ICCCopyable)

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

InitWithAction(CCFiniteTimeAction, uint)

System.Boolean InitWithAction(CCFiniteTimeAction, uint)(Cocos2D.CCFiniteTimeAction action, System.UInt32 times)
Parameters:
action (Cocos2D.CCFiniteTimeAction)
times (System.UInt32)
Returns:
System.Boolean

Reverse()

Cocos2D.CCFiniteTimeAction Reverse()()
Returns:
Cocos2D.CCFiniteTimeAction
Example

StartWithTarget(CCNode)

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

Stop()

Stop()()
Example

Update(float)

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