|
cocos2d-iphone
2.1
Improved Cocos2D API Reference (iOS version) for www.kobold2d.com developers
|
#import <CCActionInstant.h>
Inheritance diagram for CCCallBlockN:
Collaboration diagram for CCCallBlockN:Public Member Functions | |
| (id) | - initWithBlock: |
| (void) | - execute |
Static Public Member Functions | |
| (id) | + actionWithBlock: |
Protected Attributes | |
| void(^ | _block )(CCNode *) |
Executes a callback using a block with a single CCNode parameter.
| + (id) actionWithBlock: | (CCNode *node) | block |
creates the action with the specified block, to be used as a callback. The block will be "copied".
| - (void) execute |
executes the callback
| - (id) initWithBlock: | (CCNode *node) | block |
initialized the action with the specified block, to be used as a callback. The block will be "copied".