FadeTransition Class Reference

#import <Transition.h>

Inherits TransitionScene.

Collaboration diagram for FadeTransition:

Collaboration graph
[legend]

List of all members.

Public Member Functions

(id) - initWithDuration:scene:withColorRGB:

Static Public Member Functions

(id) + transitionWithDuration:scene:withColorRGB:


Detailed Description

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

Member Function Documentation

- (id) initWithDuration: (ccTime duration
scene: (Scene *)  scene
withColorRGB: (unsigned int)  rgb 

initializes the transition with a duration and with an RGB color

+ (id) transitionWithDuration: (ccTime duration
scene: (Scene *)  scene
withColorRGB: (unsigned int)  rgb 

creates the transition with a duration and with an RGB color Example: [FadeTransition transitionWithDuration:2 scene:s withColorRGB:0xff0000]; // red color


The documentation for this class was generated from the following file:

Generated on Tue Jun 9 10:39:36 2009 for cocos2d for iPhone 0.7.3 by  doxygen 1.5.8