2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module EaseElastic
|
2014-03-20 10:21:28 +08:00
|
|
|
-- @extend ActionEase
|
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
|
|
|
--------------------------------
|
2015-03-19 11:55:42 +08:00
|
|
|
-- brief Set period of the wave in radians.<br>
|
|
|
|
-- param fPeriod The value will be set.
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#EaseElastic] setPeriod
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #float fPeriod
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return EaseElastic#EaseElastic self (return value: cc.EaseElastic)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
2015-05-05 11:31:53 +08:00
|
|
|
--------------------------------
|
|
|
|
-- brief Initializes the action with the inner action and the period in radians.<br>
|
|
|
|
-- param action The pointer of the inner action.<br>
|
|
|
|
-- param period Period of the wave in radians. Default is 0.3.<br>
|
|
|
|
-- return Return true when the initialization success, otherwise return false.
|
|
|
|
-- @function [parent=#EaseElastic] initWithAction
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.ActionInterval action
|
|
|
|
-- @param #float period
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
2015-03-19 11:55:42 +08:00
|
|
|
-- brief Get period of the wave in radians. Default value is 0.3.<br>
|
|
|
|
-- return Return the period of the wave in radians.
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#EaseElastic] getPeriod
|
|
|
|
-- @param self
|
|
|
|
-- @return float#float ret (return value: float)
|
|
|
|
|
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=#EaseElastic] clone
|
|
|
|
-- @param self
|
|
|
|
-- @return EaseElastic#EaseElastic ret (return value: cc.EaseElastic)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @function [parent=#EaseElastic] reverse
|
|
|
|
-- @param self
|
|
|
|
-- @return EaseElastic#EaseElastic ret (return value: cc.EaseElastic)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
return nil
|