CLASS_A Class Reference
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
-
– init
-
– startWithTarget:
-
– update:
-
– initWithDuration:
Initialize an action.
-
+ 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.
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