CCActionBezierBy Class Reference
Inherits from | CCActionInterval : CCActionFiniteTime : CCAction : NSObject |
---|---|
Conforms to | NSCopying |
Declared in | CCActionInterval.h |
Creating a Bezier Path Move Action
+ actionWithDuration:bezier:
Creates the action with a duration and a bezier configuration.
+ (id)actionWithDuration:(CCTime)t bezier:(ccBezierConfig)c
Parameters
t |
Action duration. |
---|---|
c |
Bezier configuration. |
Return Value
New bezier action.
Declared In
CCActionInterval.h
– initWithDuration:bezier:
Initializes the action with a duration and a bezier configuration.
- (id)initWithDuration:(CCTime)t bezier:(ccBezierConfig)c
Parameters
t |
Action duration. |
---|---|
c |
Bezier configuration. |
Return Value
New bezier action.
Declared In
CCActionInterval.h