#import <CCTransition.h>
Inherits CCTransitionScene.

Public Member Functions | |
| (id) | - initWithDuration:scene:withColor: |
Static Public Member Functions | |
| (id) | + transitionWithDuration:scene:withColor: |
CCFadeTransition: Fade out the outgoing scene and then fade in the incoming scene.'''
Definition at line 227 of file CCTransition.h.
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