Public Member Functions | Static Public Member Functions

CCFadeTransition Class Reference

#import <CCTransition.h>

Inherits CCTransitionScene.

Collaboration diagram for CCFadeTransition:
Collaboration graph
[legend]

List of all members.

Public Member Functions

(id) - initWithDuration:scene:withColor:

Static Public Member Functions

(id) + transitionWithDuration:scene:withColor:

Detailed Description

CCFadeTransition: Fade out the outgoing scene and then fade in the incoming scene.'''

Definition at line 227 of file CCTransition.h.


Member Function Documentation

- (id) initWithDuration: (ccTime duration
scene: (CCScene *)  scene
withColor: (ccColor3B color 

initializes the transition with a duration and with an RGB color

+ (id) transitionWithDuration: (ccTime duration
scene: (CCScene *)  scene
withColor: (ccColor3B color 

creates the transition with a duration and with an RGB color Example: [FadeTransition transitionWithDuration:2 scene:s withColor:ccc3(255,0,0)]; // red color


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