axmol/cocos/scripting/lua-bindings/auto/api/ProgressFromTo.lua

47 lines
1.6 KiB
Lua
Raw Normal View History

2014-03-10 14:04:58 +08:00
--------------------------------
-- @module ProgressFromTo
-- @extend ActionInterval
-- @parent_module cc
2014-03-10 14:04:58 +08:00
--------------------------------
-- brief Create and initializes the action with a duration, a "from" percentage and a "to" percentage.<br>
-- param duration Specify the duration of the ProgressFromTo action. It's a value in seconds.<br>
-- param fromPercentage Specify the source percentage.<br>
-- param toPercentage Specify the destination percentage.<br>
-- return If the creation sucess, return a pointer of ProgressFromTo action; otherwise, return nil.
2014-03-10 14:04:58 +08:00
-- @function [parent=#ProgressFromTo] create
-- @param self
-- @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)
--------------------------------
--
-- @function [parent=#ProgressFromTo] startWithTarget
-- @param self
-- @param #cc.Node target
-- @return ProgressFromTo#ProgressFromTo self (return value: cc.ProgressFromTo)
--------------------------------
--
-- @function [parent=#ProgressFromTo] clone
-- @param self
-- @return ProgressFromTo#ProgressFromTo ret (return value: cc.ProgressFromTo)
--------------------------------
--
-- @function [parent=#ProgressFromTo] reverse
-- @param self
-- @return ProgressFromTo#ProgressFromTo ret (return value: cc.ProgressFromTo)
--------------------------------
--
-- @function [parent=#ProgressFromTo] update
-- @param self
-- @param #float time
-- @return ProgressFromTo#ProgressFromTo self (return value: cc.ProgressFromTo)
2014-03-10 14:04:58 +08:00
return nil