CCRotateTo Class Reference
Inherits from | CCActionInterval : CCFiniteTimeAction : CCAction : NSObject |
Conforms to | NSCopying |
Declared in | CCActionInterval.h CCIntervalAction.h |
Overview
Rotates a CCNode object to a certain angle by modifying it’s rotation attribute. The direction will be decided by the shortest angle.
Tasks
-
+ actionWithDuration:angle:
creates the action
-
– initWithDuration:angle:
initializes the action
-
+ actionWithDuration:angleX:angleY:
creates the action with separate rotation angles
-
– initWithDuration:angleX:angleY: