CCRotateAnimation
CCRotateAnimation
cocos2d.actions.action_intervalsInheritance: 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.CCFiniteTimeActionExample
StartWithTarget(CCNode)
StartWithTarget(CCNode)(Cocos2D.CCNode target)Parameters:
target (Cocos2D.CCNode)Example
Update(float)
Update(float)(System.Single time)Parameters:
time (System.Single)Example