![]() |
cocos2d-iphone
2.1
Improved Cocos2D API Reference (iOS version) for www.kobold2d.com developers
|
#import <CCActionInterval.h>
Public Member Functions | |
(id) | - initWithDuration:angle: |
(id) | - initWithDuration:angleX:angleY: |
Static Public Member Functions | |
(id) | + actionWithDuration:angle: |
(id) | + actionWithDuration:angleX:angleY: |
Protected Attributes | |
float | _angleX |
float | _startAngleX |
float | _angleY |
float | _startAngleY |
Rotates a CCNode object clockwise a number of degrees by modifying its rotation attribute.
+ (id) actionWithDuration: | (ccTime) | duration | |
angle: | (float) | deltaAngle | |
creates the action
+ (id) actionWithDuration: | (ccTime) | t | |
angleX: | (float) | aX | |
angleY: | (float) | aY | |
creates the action with separate rotation angles
- (id) initWithDuration: | (ccTime) | duration | |
angle: | (float) | deltaAngle | |
initializes the action