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

#import <CCTransition.h>

+ Inheritance diagram for CCTransitionFade:
+ Collaboration diagram for CCTransitionFade:

List of all members.

Public Member Functions

(id) - initWithDuration:scene:withColor:

Static Public Member Functions

(id) + transitionWithDuration:scene:withColor:

Protected Attributes

ccColor4B color

Detailed Description

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


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: