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

#import <CCActionInterval.h>

Inheritance diagram for CCFadeOut:
Collaboration diagram for CCFadeOut:

Instance Methods

(void) - update:
 
 Instance Methods inherited from CCActionInterval
(id) - initWithDuration:
 
(BOOL) - isDone
 
(CCActionInterval *) - reverse
 

Additional Inherited Members

 Class Methods inherited from CCActionInterval
(id) + actionWithDuration:
 
 Protected Attributes inherited from CCActionInterval
ccTime elapsed_
 
BOOL firstTick_
 
 Properties inherited from CCActionInterval
ccTime elapsed
 

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

Method 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: