Class cc.FiniteTimeAction

Class Summary
Constructor Attributes Constructor Name and Description
 

Base class actions that do have a finite time duration.

Method Summary

Class Detail

cc.FiniteTimeAction()

Base class actions that do have a finite time duration.
Possible actions:
- An action with a duration of 0 seconds
- An action with a duration of 35.5 seconds

Infinite time actions are valid

Method Detail

  • clone()
  • {Number} getDuration()
    get duration in seconds of the action
    Returns:
    {Number}
  • {Null} reverse()
    returns a reversed action
    Returns:
    {Null}
  • setDuration(duration)
    set duration in seconds of the action
    Parameters:
    {Number} duration