Speed Class Reference

#import <Action.h>

Inherits Action.

Collaboration diagram for Speed:

Collaboration graph
[legend]

List of all members.

Public Member Functions

(id) - initWithAction:speed:

Static Public Member Functions

(id) + actionWithAction:speed:

Properties

float speed


Detailed Description

Changes the speed of an action, making it take longer (speed>1) or less (speed<1) time. Useful to simulate 'slow motion' or 'fast forward' effect.
Warning:
This action can't be Sequenceable because it is not an IntervalAction

Member Function Documentation

+ (id) actionWithAction: (IntervalAction *)  action
speed: (float)  rate 

creates the action

- (id) initWithAction: (IntervalAction *)  action
speed: (float)  rate 

initializes the action


Property Documentation

- (float) speed [read, write, assign]

alter the speed of the inner function in runtime


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

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