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

#import <CCActionProgressTimer.h>

+ Inheritance diagram for CCProgressFromTo:
+ Collaboration diagram for CCProgressFromTo:

List of all members.

Public Member Functions

(id) - initWithDuration:from:to:

Static Public Member Functions

(id) + actionWithDuration:from:to:

Protected Attributes

float _to
float _from

Detailed Description

Progress from a percentage to another percentage

Since:
v0.99.1

Member Function Documentation

+ (id) actionWithDuration: (ccTime duration
from: (float)  fromPercentage
to: (float)  toPercentage 

Creates and initializes the action with a duration, a "from" percentage and a "to" percentage

- (id) initWithDuration: (ccTime duration
from: (float)  fromPercentage
to: (float)  toPercentage 

Initializes the action with a duration, a "from" percentage and a "to" percentage


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