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

#import <CCActionInterval.h>

+ Inheritance diagram for CCFadeIn:
+ Collaboration diagram for CCFadeIn:

List of all members.

Public Member Functions

(void) - update:

Detailed Description

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

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: