2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module ProgressFromTo
|
2014-03-20 10:21:28 +08:00
|
|
|
-- @extend ActionInterval
|
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-01-20 16:17:36 +08:00
|
|
|
-- Creates and initializes the action with a duration, a "from" percentage and a "to" percentage <br>
|
|
|
|
-- param duration in seconds
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#ProgressFromTo] create
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #float duration
|
|
|
|
-- @param #float fromPercentage
|
|
|
|
-- @param #float toPercentage
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @return ProgressFromTo#ProgressFromTo ret (return value: cc.ProgressFromTo)
|
|
|
|
|
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=#ProgressFromTo] startWithTarget
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #cc.Node target
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return ProgressFromTo#ProgressFromTo self (return value: cc.ProgressFromTo)
|
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=#ProgressFromTo] clone
|
|
|
|
-- @param self
|
|
|
|
-- @return ProgressFromTo#ProgressFromTo ret (return value: cc.ProgressFromTo)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @function [parent=#ProgressFromTo] reverse
|
|
|
|
-- @param self
|
|
|
|
-- @return ProgressFromTo#ProgressFromTo ret (return value: cc.ProgressFromTo)
|
|
|
|
|
|
|
|
--------------------------------
|
2015-01-20 16:17:36 +08:00
|
|
|
-- param time in seconds
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @function [parent=#ProgressFromTo] update
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #float time
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return ProgressFromTo#ProgressFromTo self (return value: cc.ProgressFromTo)
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
return nil
|