Inherits from CCCallFuncN : CCCallFunc : CCActionInstant : CCFiniteTimeAction : CCAction : NSObject
Declared in CCActionInstant.h
CCInstantAction.h

Overview

Calls a ‘callback’ with the node as the first argument and the 2nd argument is data. ND means: Node and Data. Data is void *, so it could be anything.

Tasks

Properties

callbackMethod

Invocation object that has the target#selector and the parameters

@property (nonatomic, readwrite) CC_CALLBACK_ND callbackMethod

Declared In

CCActionInstant.h

Class Methods

actionWithTarget:selector:data:

creates the action with the callback and the data to pass as an argument

+ (id)actionWithTarget:(id)t selector:(SEL)s data:(void *)d

Declared In

CCActionInstant.h

Instance Methods

initWithTarget:selector:data:

initializes the action with the callback and the data to pass as an argument

- (id)initWithTarget:(id)t selector:(SEL)s data:(void *)d

Declared In

CCActionInstant.h