cocos2d for iPhone 1.0.0
2D engine for iOS and OS X
Public Member Functions | Static Public Member Functions | Properties
CCCallFuncND Class Reference

#import <CCActionInstant.h>

Inheritance diagram for CCCallFuncND:
Inheritance graph
[legend]
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 127 of file CCActionInstant.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 134 of file CCActionInstant.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 API Reference - Generated using Doxygen 1.7.4