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

Class Methods

actionWithDuration:angle:

creates the action

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

Declared In

CCActionInterval.h

actionWithDuration:angleX:angleY:

creates the action with separate rotation angles

+ (id)actionWithDuration:(ccTime)t angleX:(float)aX angleY:(float)aY

Declared In

CCActionInterval.h

Instance Methods

initWithDuration:angle:

initializes the action

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

Declared In

CCActionInterval.h

initWithDuration:angleX:angleY: