Action Class

Defined in: https://github.com/cocos-creator/engine/blob/18c4ff6051c255c06377a9b26bc00d4567180ae4/cocos2d/actions/CCAction.js:38

Module: cc

Base class cc.Action for action classes.

Index

Properties
Methods

Details

Properties

TAG_INVALID

Default Action tag.

meta description
Type Number
Defined in cocos2d/actions/CCAction.js:172

Methods

clone

to copy object with deep copy. returns a clone of action.

meta description
Returns Action
Defined in cocos2d/actions/CCAction.js:54
isDone

return true if the action has finished.

meta description
Returns Boolean
Defined in cocos2d/actions/CCAction.js:70
getTarget

get the target.

meta description
Returns Node
Defined in cocos2d/actions/CCAction.js:102
setTarget

The action will modify the target properties.

meta description
Defined in cocos2d/actions/CCAction.js:112
Parameters
getOriginalTarget

get the original target.

meta description
Returns Node
Defined in cocos2d/actions/CCAction.js:122
getTag

get tag number.

meta description
Returns Number
Defined in cocos2d/actions/CCAction.js:139
setTag

set tag number.

meta description
Defined in cocos2d/actions/CCAction.js:149
Parameters

results matching ""

    No results matching ""