|
cocos2d for iPhone 1.0.0
2D engine for iOS and OS X
|
#import <CCTransition.h>


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