RotateTo Class Reference

#import <IntervalAction.h>

Inherits IntervalAction.

Collaboration diagram for RotateTo:

Collaboration graph
[legend]

List of all members.

Public Member Functions

(id) - initWithDuration:angle:

Static Public Member Functions

(id) + actionWithDuration:angle:


Detailed Description

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

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:

Generated on Tue Jun 9 10:39:43 2009 for cocos2d for iPhone 0.7.3 by  doxygen 1.5.8