ScaleTo Class Reference

#import <IntervalAction.h>

Inherits IntervalAction.

Inherited by ScaleBy.

Collaboration diagram for ScaleTo:

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 CocosNode object to a zoom factor by modifying it's scale attribute.
Warning:
This action doesn't support "reverse"

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:

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