![]() |
cocos2d-iphone
1.0.1
Improved Cocos2D API Reference (iOS version) for Kobold2D developers
|
#include <CCAction.h>
Public Member Functions | |
id | initWithAction:speed: (CCActionInterval *action,[speed] float rate) |
Static Public Member Functions | |
id | actionWithAction:speed: (CCActionInterval *action,[speed] float rate) |
Protected Attributes | |
CCActionInterval * | innerAction_ |
float | speed_ |
Properties | |
float | speed |
CCActionInterval * | innerAction |
Changes the speed of an action, making it take longer (speed>1) or less (speed<1) time. Useful to simulate 'slow motion' or 'fast forward' effect.
id CCSpeed::actionWithAction:speed: | ( | CCActionInterval * | action, |
[speed] float | rate | ||
) | [static, virtual] |
creates the action
id CCSpeed::initWithAction:speed: | ( | CCActionInterval * | action, |
[speed] float | rate | ||
) | [virtual] |
initializes the action
CCActionInterval* CCSpeed::innerAction [read, write, retain] |
Inner action of CCSpeed
float CCSpeed::speed [read, write, assign] |
alter the speed of the inner function in runtime