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

#import <CCActionInstant.h>

+ Inheritance diagram for CCCallFunc:
+ Collaboration diagram for CCCallFunc:

List of all members.

Public Member Functions

(id) - initWithTarget:selector:
(void) - execute

Static Public Member Functions

(id) + actionWithTarget:selector:

Protected Attributes

id _targetCallback
SEL _selector


id targetCallback

Detailed Description

Calls a 'callback'

Member Function Documentation

+ (id) actionWithTarget: (id)  t
selector: (SEL)  s 

creates the action with the callback

- (void) execute

executes the callback

Implemented in CCCallFuncN.

- (id) initWithTarget: (id)  t
selector: (SEL)  s 

initializes the action with the callback

Property Documentation

- (id) targetCallback [read, write, retain]

Target that will be called

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