Update documentation

This commit is contained in:
Insality
2020-03-28 23:10:30 +03:00
parent d24107550a
commit 9dd3a029ad
4 changed files with 144 additions and 21 deletions

View File

@@ -74,7 +74,7 @@ end
-- @function progress:init
-- @tparam string|node node Progress bar fill node or node name
-- @tparam string key Progress bar direction: const.SIDE.X or const.SIDE.Y
-- @tparam number init_value Initial value of progress bar
-- @tparam[opt=1] number init_value Initial value of progress bar
function M.init(self, node, key, init_value)
assert(key == const.SIDE.X or const.SIDE.Y, "Progress bar key should be 'x' or 'y'")