Inherits from CCActionEase
Declared in CC3Actions.h

Overview

A CC3ActionRangeLimit holds another action, and serves to modify the normal zero-to-one range of update values to a smaller range that is presented to the contained action.

For example, for an instance that is limited to a range of 0.5 to 0.75, as the input update value changes from zero to one, the value that is forwarded to the contained action will change from 0.5 to 0.75.

Class Methods

actionWithAction:limitFrom:to:

Allocates and initializes an autoreleased instance that modify the update values that are forwarded to the specified action so that they remain within the specified range.

+ (id)actionWithAction:(CCActionInterval *)action limitFrom:(GLfloat)startOfRange to:(GLfloat)endOfRange

Declared In

CC3Actions.h

Instance Methods

initWithAction:limitFrom:to:

Initializes this instance to modify the update values that are forwarded to the specified action so that they remain within the specified range.

- (id)initWithAction:(CCActionInterval *)action limitFrom:(GLfloat)startOfRange to:(GLfloat)endOfRange

Declared In

CC3Actions.h