CCCallFuncND Class Reference
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
-
callbackMethod
Invocation object that has the target#selector and the parameters
property -
+ actionWithTarget:selector:data:
creates the action with the callback and the data to pass as an argument
-
– initWithTarget:selector:data:
initializes the action with the callback and the data to pass as an argument