2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module JumpTiles3D
|
2014-03-20 10:21:28 +08:00
|
|
|
-- @extend TiledGrid3DAction
|
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
|
|
|
-- amplitude rate
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#JumpTiles3D] 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=#JumpTiles3D] setAmplitude
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #float amplitude
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return JumpTiles3D#JumpTiles3D self (return value: cc.JumpTiles3D)
|
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=#JumpTiles3D] setAmplitudeRate
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #float amplitudeRate
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return JumpTiles3D#JumpTiles3D self (return value: cc.JumpTiles3D)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- amplitude of the sin
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#JumpTiles3D] getAmplitude
|
|
|
|
-- @param self
|
|
|
|
-- @return float#float ret (return value: float)
|
|
|
|
|
|
|
|
--------------------------------
|
2015-01-20 16:17:36 +08:00
|
|
|
-- creates the action with the number of jumps, the sin amplitude, the grid size and the duration <br>
|
|
|
|
-- param duration in seconds
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#JumpTiles3D] create
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #float duration
|
|
|
|
-- @param #size_table gridSize
|
|
|
|
-- @param #unsigned int numberOfJumps
|
|
|
|
-- @param #float amplitude
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @return JumpTiles3D#JumpTiles3D ret (return value: cc.JumpTiles3D)
|
|
|
|
|
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=#JumpTiles3D] clone
|
|
|
|
-- @param self
|
|
|
|
-- @return JumpTiles3D#JumpTiles3D ret (return value: cc.JumpTiles3D)
|
|
|
|
|
|
|
|
--------------------------------
|
2015-01-20 16:17:36 +08:00
|
|
|
-- param time in seconds
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @function [parent=#JumpTiles3D] update
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #float time
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return JumpTiles3D#JumpTiles3D self (return value: cc.JumpTiles3D)
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
return nil
|