Base class cc.Action for action classes. 动作类基类。

Methods

clone ( ) returns Action

to copy object with deep copy. returns a clone of action.
深拷贝一个对象,返回动作的克隆体。

isDone ( ) returns Boolean

return true if the action has finished.
若动作完成,返回true。

getTarget ( ) returns Node

get the target.
获得执行动作的对象。

setTarget ( target )

The action will modify the target properties.
设置执行动作的对象。

getOriginalTarget ( ) returns Node

get the original target.
获得原始对象。

getTag ( ) returns Number

get tag number.
获得标识。

setTag ( tag )

set tag number.
设置标识。