-------------------------------- -- @module ProgressTimer -- @extend Node -------------------------------- -- @function [parent=#ProgressTimer] isReverseDirection -- @param self -- @return bool#bool ret (return value: bool) -------------------------------- -- @function [parent=#ProgressTimer] setBarChangeRate -- @param self -- @param #cc.Vec2 vec2 -------------------------------- -- @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 -- @param #cc.Vec2 vec2 -------------------------------- -- @function [parent=#ProgressTimer] getBarChangeRate -- @param self -- @return Vec2#Vec2 ret (return value: cc.Vec2) -------------------------------- -- overload function: setReverseDirection(bool) -- -- overload function: setReverseDirection(bool) -- -- @function [parent=#ProgressTimer] setReverseDirection -- @param self -- @param #bool bool -------------------------------- -- @function [parent=#ProgressTimer] getMidpoint -- @param self -- @return Vec2#Vec2 ret (return value: cc.Vec2) -------------------------------- -- @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) -------------------------------- -- @function [parent=#ProgressTimer] setAnchorPoint -- @param self -- @param #cc.Vec2 vec2 -------------------------------- -- @function [parent=#ProgressTimer] draw -- @param self -- @param #cc.Renderer renderer -- @param #cc.Mat4 mat4 -- @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) return nil