|
cocos2d-mac
1.0.1
Improved Cocos2D API Reference (Mac OS X version) for Kobold2D developers
|
#include <CCActionInterval.h>
Public Member Functions | |
| id | initWithDuration:scale: (ccTime duration,[scale] float s) |
| id | initWithDuration:scaleX:scaleY: (ccTime duration,[scaleX] float sx,[scaleY] float sy) |
Static Public Member Functions | |
| id | actionWithDuration:scale: (ccTime duration,[scale] float s) |
| id | actionWithDuration:scaleX:scaleY: (ccTime duration,[scaleX] float sx,[scaleY] float sy) |
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 it's scale attribute.
| id CCScaleTo::actionWithDuration:scale: | ( | ccTime | duration, |
| [scale] float | s | ||
| ) | [static, virtual] |
creates the action with the same scale factor for X and Y
| id CCScaleTo::actionWithDuration:scaleX:scaleY: | ( | ccTime | duration, |
| [scaleX] float | sx, | ||
| [scaleY] float | sy | ||
| ) | [static, virtual] |
creates the action with and X factor and a Y factor
| id CCScaleTo::initWithDuration:scale: | ( | ccTime | duration, |
| [scale] float | s | ||
| ) | [virtual] |
initializes the action with the same scale factor for X and Y
| id CCScaleTo::initWithDuration:scaleX:scaleY: | ( | ccTime | duration, |
| [scaleX] float | sx, | ||
| [scaleY] float | sy | ||
| ) | [virtual] |
initializes the action with and X factor and a Y factor