Skip to main content

CCRotateAnimation

CCRotateAnimation

cocos2d.actions.action_intervals

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

Implements: Cocos2D.ICCCopyable

Constructors

CCRotateAnimation(float, float)

CCRotateAnimation(float, float)(System.Single duration, System.Single rotation)
Parameters:
duration (System.Single)
rotation (System.Single)

Methods

Reverse()

Cocos2D.CCFiniteTimeAction Reverse()()

Does nothing by default.

Returns:
Cocos2D.CCFiniteTimeAction
Example

StartWithTarget(CCNode)

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

Update(float)

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