CCAction Class Reference
Inherits from | NSObject |
Conforms to | NSCopying |
Declared in | CCAction.h |
Tasks
-
target
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 -
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 -
tag
The action tag. An identifier of the action
property -
+ action
Allocates and initializes the action
-
– init
Initializes 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 originalTarget
Availability
Declared In
CCAction.h
tag
The action tag. An identifier of the action
@property (nonatomic, readwrite, assign) NSInteger tag
Declared In
CCAction.h
target
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 target
Declared In
CCAction.h