![]() |
cocos2d-iphone
2.1
Improved Cocos2D API Reference (iOS version) for www.kobold2d.com developers
|
#import <CCActionInterval.h>
Public Member Functions | |
(id) | - initWithDuration:scale: |
(id) | - initWithDuration:scaleX:scaleY: |
Static Public Member Functions | |
(id) | + actionWithDuration:scale: |
(id) | + actionWithDuration:scaleX:scaleY: |
Protected Attributes | |
float | _scaleX |
float | _scaleY |
float | _startScaleX |
float | _startScaleY |
float | _endScaleX |
float | _endScaleY |
float | _deltaX |
float | _deltaY |
Scales a CCNode object to a zoom factor by modifying its scale attribute.
+ (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