Class cc.DelayTime
Extends
cc.ActionInterval.
Defined in: CCActionInterval.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Delays the action a certain amount of seconds
|
Method Attributes | Method Name and Description |
---|---|
<static> |
cc.DelayTime.create(d)
|
reverse()
|
|
update(time)
|
- Methods borrowed from class cc.ActionInterval:
- getAmplitudeRate, getElapsed, initWithDuration, isDone, setAmplitudeRate, startWithTarget, step
- Methods borrowed from class cc.FiniteTimeAction:
- getDuration, setDuration
- Methods borrowed from class cc.Action:
- copy, copyWithZone, description, getOriginalTarget, getTag, getTarget, release, retain, setOriginalTarget, setTag, setTarget, stop
Method Detail
<static>
{cc.DelayTime}
cc.DelayTime.create(d)
// example var delay = cc.DelayTime.create(1);
- Parameters:
- {Number} d
- duration in seconds
- Returns:
- {cc.DelayTime}
{cc.ActionInterval}
reverse()
- Returns:
- {cc.ActionInterval}
update(time)
- Parameters:
- {Number} time
- time in seconds