cocos2d-iphone  2.1
Improved Cocos2D API Reference (iOS version) for www.kobold2d.com developers
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Defines
CCCallBlockN Class Reference

#import <CCActionInstant.h>

+ Inheritance diagram for CCCallBlockN:
+ Collaboration diagram for CCCallBlockN:

List of all members.

Public Member Functions

(id) - initWithBlock:
(void) - execute

Static Public Member Functions

(id) + actionWithBlock:

Protected Attributes

void(^ _block )(CCNode *)

Detailed Description

Executes a callback using a block with a single CCNode parameter.


Member Function Documentation

+ (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".


The documentation for this class was generated from the following file: