TintTo Class Reference

#import <IntervalAction.h>

Inherits IntervalAction.

Collaboration diagram for TintTo:

Collaboration graph
[legend]

List of all members.

Public Member Functions

(id) - initWithDuration:red:green:blue:

Static Public Member Functions

(id) + actionWithDuration:red:green:blue:


Detailed Description

Tints a CocosNode that implements the CocosNodeRGB protocol from current tint to a custom one.
Warning:
This action doesn't support "reverse"
Since:
v0.7.2

Member Function Documentation

+ (id) actionWithDuration: (ccTime duration
red: (GLubyte)  red
green: (GLubyte)  green
blue: (GLubyte)  blue 

creates an action with duration and opactiy

- (id) initWithDuration: (ccTime duration
red: (GLubyte)  red
green: (GLubyte)  green
blue: (GLubyte)  blue 

initializes the action with duration and opacity


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

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