Public Member Functions | Static Public Member Functions

CCScaleTo Class Reference

#import <CCIntervalAction.h>

Inherits CCIntervalAction.

Inherited by CCScaleBy.

Collaboration diagram for CCScaleTo:
Collaboration graph
[legend]

List of all members.

Public Member Functions

(id) - initWithDuration:scale:
(id) - initWithDuration:scaleX:scaleY:

Static Public Member Functions

(id) + actionWithDuration:scale:
(id) + actionWithDuration:scaleX:scaleY:

Detailed Description

Scales a CCNode object to a zoom factor by modifying it's scale attribute.

Warning:
This action doesn't support "reverse"

Definition at line 241 of file CCIntervalAction.h.


Member Function Documentation

+ (id) actionWithDuration: (ccTime duration
scale: (float)  s 

creates the action with the same scale factor for X and Y

+ (id) actionWithDuration: (ccTime duration
scaleX: (float)  sx
scaleY: (float)  sy 

creates the action with and X factor and a Y factor

- (id) initWithDuration: (ccTime duration
scale: (float)  s 

initializes the action with the same scale factor for X and Y

- (id) initWithDuration: (ccTime duration
scaleX: (float)  sx
scaleY: (float)  sy 

initializes the action with and X factor and a Y factor


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