Class cc.Liquid

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

Method Summary

Class Detail

cc.Liquid()
cc.Liquid action

Method Detail

  • <static> {cc.Liquid} cc.Liquid.create(duration, gridSize, waves, amplitude)
    creates the action with amplitude, a grid and duration
    Parameters:
    {Number} duration
    {cc.Size} gridSize
    {Number} waves
    {Number} amplitude
    Returns:
    {cc.Liquid}
  • {Number} getAmplitude()
    get amplitude
    Returns:
    {Number}
  • {Number} getAmplitudeRate()
    get amplitude rate
    Returns:
    {Number}
  • {Boolean} initWithDuration(duration, gridSize, waves, amplitude)
    initializes the action with amplitude, a grid and duration
    Parameters:
    {Number} duration
    {cc.Size} gridSize
    {Number} waves
    {Number} amplitude
    Returns:
    {Boolean}
  • setAmplitude(amplitude)
    set amplitude
    Parameters:
    {Number} amplitude
  • setAmplitudeRate(amplitudeRate)
    set amplitude rate
    Parameters:
    {Number} amplitudeRate