Inherits from CCActionInstant : CCFiniteTimeAction : CCAction : NSObject
Conforms to NSCopying
Declared in CCActionInstant.h

Overview

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

Tasks

Properties

object

object to be passed to the block

@property (nonatomic, retain) id object

Declared In

CCActionInstant.h

Class Methods

actionWithBlock:object:

creates the action with the specified block, to be used as a callback. The block will be “copied”.

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

Declared In

CCActionInstant.h

Instance Methods

execute

executes the callback

- (void)execute

Declared In

CCActionInstant.h

initWithBlock:object:

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

- (id)initWithBlock:(void ( ^ ) ( id object ))block object:(id)object

Declared In

CCActionInstant.h