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
CCFadeOut Class Reference

#import <CCActionInterval.h>

+ Inheritance diagram for CCFadeOut:
+ Collaboration diagram for CCFadeOut:

List of all members.

Public Member Functions

(void) - update:

Detailed Description

Fades Out an object that implements the CCRGBAProtocol protocol. It modifies the opacity from 255 to 0. The "reverse" of this action is FadeIn


Member Function Documentation

- (void) update: (ccTime time

called once per frame. time a value between 0 and 1 For example:

  • 0 means that the action just started
  • 0.5 means that the action is in the middle
  • 1 means that the action is over

Implements CCAction.


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