Inherits from CCAction : NSObject
Conforms to NSCopying
Declared in CCAction.h

Overview

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 Sequence-able because it is not an CCIntervalAction

Tasks

Properties

innerAction

Inner action of CCSpeed

@property (nonatomic, readwrite, retain) CCActionInterval *innerAction

Declared In

CCAction.h

speed

alter the speed of the inner function in runtime

@property (nonatomic, readwrite) CGFloat speed

Declared In

CCAction.h

Class Methods

actionWithAction:speed:

creates the action

+ (id)actionWithAction:(CCActionInterval *)action speed:(CGFloat)value

Declared In

CCAction.h

Instance Methods

initWithAction:speed:

initializes the action

- (id)initWithAction:(CCActionInterval *)action speed:(CGFloat)value

Declared In

CCAction.h