Class ccs.ActionFrame

Class Summary
Constructor Attributes Constructor Name and Description
 
Base class for ccs.ActionFrame

Method Summary

Class Detail

ccs.ActionFrame()
Base class for ccs.ActionFrame

Method Detail

  • {null} getAction(duration)
    Gets the action of ActionFrame.
    Parameters:
    {number} duration
    Returns:
    {null}
  • {number} getEasingType()
    Gets the easing type.
    Returns:
    {number}
  • {number} getFrameIndex()
    Gets the index of action frame
    Returns:
    {number}
  • {number} getFrameTime()
    Gets the time of action frame
    Returns:
    {number}
  • {number} getFrameType()
    Gets the type of action frame
    Returns:
    {number}
  • setEasingType(easingType)
    Changes the easing type.
    Parameters:
    {number} easingType
  • setFrameIndex(index)
    Changes the index of action frame
    Parameters:
    {number} index
  • setFrameTime(fTime)
    Changes the time of action frame
    Parameters:
    {number} fTime
  • setFrameType(frameType)
    Changes the type of action frame
    Parameters:
    {number} frameType