cocos2d-iphone  2.1
Improved Cocos2D API Reference (iOS version) for www.kobold2d.com developers
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Defines
CCCallFuncND Class Reference

#import <CCActionInstant.h>

+ Inheritance diagram for CCCallFuncND:
+ Collaboration diagram for CCCallFuncND:

List of all members.

Public Member Functions

(id) - initWithTarget:selector:data:

Static Public Member Functions

(id) + actionWithTarget:selector:data:

Protected Attributes

void * _data
CC_CALLBACK_ND _callbackMethod

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.


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


The documentation for this class was generated from the following file: