Public Member Functions | Static Public Member Functions

CCRotateTo Class Reference

#import <CCIntervalAction.h>

Inherits CCIntervalAction.

Collaboration diagram for CCRotateTo:
Collaboration graph
[legend]

List of all members.

Public Member Functions

(id) - initWithDuration:angle:

Static Public Member Functions

(id) + actionWithDuration:angle:

Detailed Description

Rotates a CCNode object to a certain angle by modifying it's rotation attribute. The direction will be decided by the shortest angle.

Definition at line 123 of file CCIntervalAction.h.


Member Function Documentation

+ (id) actionWithDuration: (ccTime duration
angle: (float)  angle 

creates the action

- (id) initWithDuration: (ccTime duration
angle: (float)  angle 

initializes the action


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Defines

cocos2d for iPhone 0.99.4 API Reference - Generated using Doxygen 1.7.1