2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module ProgressTimer
|
2014-03-20 10:21:28 +08:00
|
|
|
-- @extend Node
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ProgressTimer] isReverseDirection
|
|
|
|
-- @param self
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ProgressTimer] setBarChangeRate
|
|
|
|
-- @param self
|
2014-04-28 15:01:59 +08:00
|
|
|
-- @param #cc.math::Vector2 array
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ProgressTimer] getPercentage
|
|
|
|
-- @param self
|
|
|
|
-- @return float#float ret (return value: float)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ProgressTimer] setSprite
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Sprite sprite
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ProgressTimer] getType
|
|
|
|
-- @param self
|
|
|
|
-- @return ProgressTimer::Type#ProgressTimer::Type ret (return value: cc.ProgressTimer::Type)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ProgressTimer] getSprite
|
|
|
|
-- @param self
|
|
|
|
-- @return Sprite#Sprite ret (return value: cc.Sprite)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ProgressTimer] setMidpoint
|
|
|
|
-- @param self
|
2014-04-28 15:01:59 +08:00
|
|
|
-- @param #cc.math::Vector2 array
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ProgressTimer] getBarChangeRate
|
|
|
|
-- @param self
|
2014-04-28 15:01:59 +08:00
|
|
|
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- overload function: setReverseDirection(bool)
|
|
|
|
--
|
|
|
|
-- overload function: setReverseDirection(bool)
|
|
|
|
--
|
|
|
|
-- @function [parent=#ProgressTimer] setReverseDirection
|
|
|
|
-- @param self
|
|
|
|
-- @param #bool bool
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ProgressTimer] getMidpoint
|
|
|
|
-- @param self
|
2014-04-28 15:01:59 +08:00
|
|
|
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ProgressTimer] setPercentage
|
|
|
|
-- @param self
|
|
|
|
-- @param #float float
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ProgressTimer] setType
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.ProgressTimer::Type type
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ProgressTimer] create
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Sprite sprite
|
|
|
|
-- @return ProgressTimer#ProgressTimer ret (return value: cc.ProgressTimer)
|
|
|
|
|
2014-03-18 15:55:30 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ProgressTimer] setAnchorPoint
|
|
|
|
-- @param self
|
2014-04-28 15:01:59 +08:00
|
|
|
-- @param #cc.math::Vector2 array
|
2014-03-18 15:55:30 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ProgressTimer] draw
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Renderer renderer
|
2014-04-28 15:01:59 +08:00
|
|
|
-- @param #cc.math::Matrix matrix
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @param #bool bool
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ProgressTimer] setColor
|
|
|
|
-- @param self
|
|
|
|
-- @param #color3B_table color3b
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ProgressTimer] getColor
|
|
|
|
-- @param self
|
|
|
|
-- @return color3B_table#color3B_table ret (return value: color3B_table)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ProgressTimer] setOpacity
|
|
|
|
-- @param self
|
|
|
|
-- @param #unsigned char char
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ProgressTimer] getOpacity
|
|
|
|
-- @param self
|
|
|
|
-- @return unsigned char#unsigned char ret (return value: unsigned char)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
return nil
|