|
cocos2d-iphone
2.1
Improved Cocos2D API Reference (iOS version) for www.kobold2d.com developers
|
#import <CCAction.h>
Inheritance diagram for CCSpeed:
Collaboration diagram for CCSpeed:Public Member Functions | |
| (id) | - initWithAction:speed: |
Static Public Member Functions | |
| (id) | + actionWithAction:speed: |
Protected Attributes | |
| CCActionInterval * | _innerAction |
| CGFloat | _speed |
Properties | |
| CGFloat | 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) actionWithAction: | (CCActionInterval *) | action | |
| speed: | (CGFloat) | value | |
creates the action
| - (id) initWithAction: | (CCActionInterval *) | action | |
| speed: | (CGFloat) | value | |
initializes the action
- (CCActionInterval*) innerAction [read, write, retain] |
Inner action of CCSpeed
- (CGFloat) speed [read, write, assign] |
alter the speed of the inner function in runtime