Cocos Creator API

1.3.0

Cocos Creator is a highly customizable game development tool that utilizes the power of cocos2d-x.

Action static

Base class cc.Action for action classes.

TAG_INVALID Number static

Default Action tag.

There are no properties that match your current filter settings. You can change your filter settings in the index section on this page. index

clone ( ) Action

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

:

: Action

isDone ( ) Boolean

return true if the action has finished.

:

getTarget ( ) Node

get the target.

:

: Node

setTarget
(
  • target
)

The action will modify the target properties.

target Node

getOriginalTarget ( ) Node

get the original target.

:

: Node

getTag ( ) Number

get tag number.

:

: Number

setTag
(
  • tag
)

set tag number.

tag Number

There are no methods that match your current filter settings. You can change your filter settings in the index section on this page. index