2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module Waves
|
2014-03-20 10:21:28 +08:00
|
|
|
-- @extend Grid3DAction
|
2014-06-25 17:36:50 +08:00
|
|
|
-- @parent_module cc
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#Waves] getAmplitudeRate
|
|
|
|
-- @param self
|
|
|
|
-- @return float#float ret (return value: float)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#Waves] setAmplitude
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #float amplitude
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-03-21 14:26:33 +08:00
|
|
|
-- @function [parent=#Waves] setAmplitudeRate
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #float amplitudeRate
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-03-21 14:26:33 +08:00
|
|
|
-- @function [parent=#Waves] getAmplitude
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param self
|
2014-03-21 14:26:33 +08:00
|
|
|
-- @return float#float ret (return value: float)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- initializes the action with amplitude, horizontal sin, vertical sin, a grid and duration
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#Waves] create
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #float duration
|
|
|
|
-- @param #size_table gridSize
|
|
|
|
-- @param #unsigned int waves
|
|
|
|
-- @param #float amplitude
|
|
|
|
-- @param #bool horizontal
|
|
|
|
-- @param #bool vertical
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @return Waves#Waves ret (return value: cc.Waves)
|
|
|
|
|
2014-03-18 15:55:30 +08:00
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @function [parent=#Waves] clone
|
|
|
|
-- @param self
|
|
|
|
-- @return Waves#Waves ret (return value: cc.Waves)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @function [parent=#Waves] update
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #float time
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
return nil
|