Class cc.ActionInstant
Extends
cc.FiniteTimeAction.
Defined in: CCActionInstant.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Instant actions are immediate actions.
|
Method Attributes | Method Name and Description |
---|---|
isDone()
|
|
step(dt)
|
|
update(time)
|
- Methods borrowed from class cc.FiniteTimeAction:
- getDuration, reverse, setDuration
- Methods borrowed from class cc.Action:
- copy, copyWithZone, description, getOriginalTarget, getTag, getTarget, release, retain, setOriginalTarget, setTag, setTarget, startWithTarget, stop
Class Detail
cc.ActionInstant()
Instant actions are immediate actions. They don't have a duration like
the CCIntervalAction actions.
Method Detail
{Boolean}
isDone()
- Returns:
- {Boolean}
step(dt)
- Parameters:
- {Number} dt
update(time)
- Parameters:
- {Number} time