CCAction Class Reference
| Inherits from | NSObject |
| Conforms to | NSCopying |
| Declared in | CCAction.h |
Tasks
-
targetThe “target”. The action will modify the target properties. The target will be set with the ‘startWithTarget’ method. When the ‘stop’ method is called, target will be set to nil. The target is ‘assigned’, it is not ‘retained’.
property -
originalTargetThe original target, since target can be nil. Is the target that were used to run the action. Unless you are doing something complex, like CCActionManager, you should NOT call this method.
property -
tagThe action tag. An identifier of the action
property -
+ actionAllocates and initializes the action
-
– initInitializes the action
-
– copyWithZone: -
– isDone -
– startWithTarget: -
– stop -
– step: -
– update:
Properties
originalTarget
The original target, since target can be nil. Is the target that were used to run the action. Unless you are doing something complex, like CCActionManager, you should NOT call this method.
@property (nonatomic, readonly, assign) id originalTargetAvailability
Declared In
CCAction.htag
The action tag. An identifier of the action
@property (nonatomic, readwrite, assign) NSInteger tagDeclared In
CCAction.htarget
The “target”. The action will modify the target properties. The target will be set with the ‘startWithTarget’ method. When the ‘stop’ method is called, target will be set to nil. The target is ‘assigned’, it is not ‘retained’.
@property (nonatomic, readonly, assign) id targetDeclared In
CCAction.h