cocos2d-iphone  2.1
Improved Cocos2D API Reference (iOS version) for www.kobold2d.com developers
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Defines
CCRotateBy Class Reference

#import <CCActionInterval.h>

+ Inheritance diagram for CCRotateBy:
+ Collaboration diagram for CCRotateBy:

List of all members.

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

Detailed Description

Rotates a CCNode object clockwise a number of degrees by modifying its rotation attribute.


Member Function Documentation

+ (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


The documentation for this class was generated from the following file: