Public Member Functions | Static Public Member Functions | Properties

CCCallFuncND Class Reference

#import <CCInstantAction.h>

Inherits CCCallFuncN.

Collaboration diagram for CCCallFuncND:
Collaboration graph
[legend]

List of all members.

Public Member Functions

(id) - initWithTarget:selector:data:

Static Public Member Functions

(id) + actionWithTarget:selector:data:

Properties

CC_CALLBACK_ND callbackMethod

Detailed Description

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.


Member Function Documentation

+ (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


Property Documentation

- (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.


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Defines

cocos2d for iPhone 0.99.4 API Reference - Generated using Doxygen 1.7.1