CCRepeatForever
CCRepeatForever
Cocos2DInheritance: System.Object → Cocos2D.CCAction → Cocos2D.CCFiniteTimeAction → Cocos2D.CCActionInterval
Implements: Cocos2D.ICCCopyable
Constructors
CCRepeatForever(CCActionInterval)
CCRepeatForever(CCActionInterval)(Cocos2D.CCActionInterval action)Creates a CCRepeatForever action that repeats a single action indefinitely.
Parameters:
action (Cocos2D.CCActionInterval) - The action to repeat forever.Example
CCRepeatForever(CCActionInterval[])
CCRepeatForever(CCActionInterval[])(Cocos2D.CCActionInterval[] actions)Creates a CCRepeatForever action that repeats a sequence of actions indefinitely. The actions are automatically combined into a CCSequence and then repeated forever.
Parameters:
actions (Cocos2D.CCActionInterval[]) - An array of actions to be executed sequentially and repeated forever.Example
CCRepeatForever(CCRepeatForever)
CCRepeatForever(CCRepeatForever)(Cocos2D.CCRepeatForever repeatForever)Parameters:
repeatForever (Cocos2D.CCRepeatForever)Fields
m_pInnerAction(Cocos2D.CCActionInterval)
Properties
InnerAction(Cocos2D.CCActionInterval)
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.ObjectExample
InitWithAction(CCActionInterval)
System.Boolean InitWithAction(CCActionInterval)(Cocos2D.CCActionInterval action)Parameters:
action (Cocos2D.CCActionInterval)Returns:
System.BooleanInitWithActions(CCActionInterval[])
System.Boolean InitWithActions(CCActionInterval[])(Cocos2D.CCActionInterval[] actions)Parameters:
actions (Cocos2D.CCActionInterval[])Returns:
System.BooleanReverse()
Cocos2D.CCFiniteTimeAction Reverse()()Does nothing by default.
Returns:
Cocos2D.CCFiniteTimeActionExample
StartWithTarget(CCNode)
StartWithTarget(CCNode)(Cocos2D.CCNode target)Parameters:
target (Cocos2D.CCNode)Example
Step(float)
Step(float)(System.Single dt)Parameters:
dt (System.Single)Example