CCActionPlace Class Reference
Inherits from | CCActionInstant : CCActionFiniteTime : CCAction : NSObject |
---|---|
Conforms to | NSCopying |
Declared in | CCActionInstant.h |
Creating a Place Action
+ actionWithPosition:
Creates a place action using the specified position.
+ (id)actionWithPosition:(CGPoint)pos
Parameters
pos |
The position the target is placed at. |
---|
Return Value
The place action object.
Declared In
CCActionInstant.h
– initWithPosition:
Initializes a place action using the specified position.
- (id)initWithPosition:(CGPoint)pos
Parameters
pos |
The position the target is placed at |
---|
Return Value
An initialized place action object.
Declared In
CCActionInstant.h