#import <CCInstantAction.h>
Inherits CCCallFuncN.

Public Member Functions | |
| (id) | - initWithTarget:selector:data: |
Static Public Member Functions | |
| (id) | + actionWithTarget:selector:data: |
Properties | |
| CC_CALLBACK_ND | callbackMethod |
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.
Definition at line 125 of file CCInstantAction.h.
| + (id) actionWithTarget: | (id) | t | ||
| selector: | (SEL) | s | ||
| data: | (void *) | d | ||
creates the action with the callback and the data to pass as an argument
| - (id) initWithTarget: | (id) | t | ||
| selector: | (SEL) | s | ||
| data: | (void *) | d | ||
initializes the action with the callback and the data to pass as an argument
- (CC_CALLBACK_ND) callbackMethod [read, write, assign] |
Invocation object that has the target::selector and the parameters
Definition at line 132 of file CCInstantAction.h.