Inherits from CLASS_B
Declared in OALAction.h

Overview

Generates common code required to subclass from a cocos2d action while maintaining the functionality of an OALAction.

Tasks

Other Methods

Other Methods

Properties

running

Class Methods

actionWithDuration:endValue:

Create a new action using the default function. The start value will be the current value of the target this action is applied to.

+ (id)actionWithDuration:(float)duration endValue:(float)endValue

Parameters

duration

The duration of this action in seconds.

endValue

The “ending” value that this action will converge upon when setting the target’s property.

Return Value

A new action.

Declared In

OALAction.h

Instance Methods

init

initWithDuration:

Initialize an action.

- (id)initWithDuration:(float)duration

Parameters

duration

The duration of this action in seconds.

Return Value

The initialized action.

Declared In

OALAction.h

prepareWithTarget:

runWithTarget:

startWithTarget:

stopAction

update:

updateCompletion: