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
CCCallBlockO Class Reference

#import <CCActionInstant.h>

+ Inheritance diagram for CCCallBlockO:
+ Collaboration diagram for CCCallBlockO:

List of all members.

Public Member Functions

(id) - initWithBlock:object:
(void) - execute

Static Public Member Functions

(id) + actionWithBlock:object:

Protected Attributes

void(^ _block )(id object)
id _object

Properties

id object

Detailed Description

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

Since:
v2.0

Member Function Documentation

+ (id) actionWithBlock: (id object block
object: (id)  object 

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: (id object block
object: (id)  object 

initialized the action with the specified block, to be used as a callback. The block will be "copied".


Property Documentation

- (id) object [read, write, retain]

object to be passed to the block


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