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

#import <CCTransition.h>

Inheritance diagram for CCTransitionFade:
Inheritance graph
[legend]
Collaboration diagram for CCTransitionFade:
Collaboration graph
[legend]

List of all members.

Public Member Functions

(id) - initWithDuration:scene:withColor:

Static Public Member Functions

(id) + transitionWithDuration:scene:withColor:

Detailed Description

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

Definition at line 228 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 API Reference - Generated using Doxygen 1.7.4