2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module EaseRateAction
|
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 the rate value for the ease rate action.<br>
|
|
|
|
-- param rate The value will be set.
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#EaseRateAction] setRate
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #float rate
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return EaseRateAction#EaseRateAction self (return value: cc.EaseRateAction)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2015-03-19 11:55:42 +08:00
|
|
|
-- brief Get the rate value of the ease rate action.<br>
|
|
|
|
-- return Return the rate value of the ease rate action.
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#EaseRateAction] getRate
|
|
|
|
-- @param self
|
|
|
|
-- @return float#float ret (return value: float)
|
|
|
|
|
2015-04-27 10:25:05 +08:00
|
|
|
--------------------------------
|
|
|
|
-- brief Creates the action with the inner action and the rate parameter.<br>
|
|
|
|
-- param action A given ActionInterval<br>
|
|
|
|
-- param rate A given rate<br>
|
|
|
|
-- return An autoreleased EaseRateAction object.
|
|
|
|
-- @function [parent=#EaseRateAction] create
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.ActionInterval action
|
|
|
|
-- @param #float rate
|
|
|
|
-- @return EaseRateAction#EaseRateAction ret (return value: cc.EaseRateAction)
|
|
|
|
|
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=#EaseRateAction] clone
|
|
|
|
-- @param self
|
|
|
|
-- @return EaseRateAction#EaseRateAction ret (return value: cc.EaseRateAction)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @function [parent=#EaseRateAction] reverse
|
|
|
|
-- @param self
|
|
|
|
-- @return EaseRateAction#EaseRateAction ret (return value: cc.EaseRateAction)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
return nil
|