Class cc.JumpTiles3D

Class Summary
Constructor Attributes Constructor Name and Description
 
cc.JumpTiles3D action.

Method Summary

Class Detail

cc.JumpTiles3D()
cc.JumpTiles3D action. A sin function is executed to move the tiles across the Z axis

Method Detail

  • <static> {cc.JumpTiles3D} cc.JumpTiles3D.create(duration, gridSize, numberOfJumps, amplitude)
    creates the action with the number of jumps, the sin amplitude, the grid size and the duration
    Parameters:
    {Number} duration
    {cc.Size} gridSize
    {Number} numberOfJumps
    {Number} amplitude
    Returns:
    {cc.JumpTiles3D}
  • {Number} getAmplitude()
    get amplitude of the sin
    Returns:
    {Number}
  • {Number} getAmplitudeRate()
    get amplitude rate
    Returns:
    {Number}
  • initWithDuration(duration, gridSize, numberOfJumps, amplitude)
    initializes the action with the number of jumps, the sin amplitude, the grid size and the duration
    Parameters:
    {Number} duration
    {cc.Size} gridSize
    {Number} numberOfJumps
    {Number} amplitude
  • setAmplitude(amplitude)
    set amplitude of the sin
    Parameters:
    {Number} amplitude
  • setAmplitudeRate(amplitudeRate)
    set amplitude rate
    Parameters:
    amplitudeRate