mirror of
https://github.com/Insality/druid
synced 2025-09-27 18:12:21 +02:00
Annotations update [3]
This commit is contained in:
@@ -23,6 +23,9 @@
|
||||
--- The text component
|
||||
-- @tfield Text text @{Text}
|
||||
|
||||
--- Text node
|
||||
-- @tfield node node
|
||||
|
||||
---
|
||||
|
||||
local Event = require("druid.event")
|
||||
|
@@ -48,7 +48,7 @@ end
|
||||
-- @tparam Timer self @{Timer}
|
||||
-- @tparam node node Gui text node
|
||||
-- @tparam number seconds_from Start timer value in seconds
|
||||
-- @tparam[opt=0] number seconds_to End timer value in seconds
|
||||
-- @tparam number|nil seconds_to End timer value in seconds
|
||||
-- @tparam function|nil callback Function on timer end
|
||||
function Timer.init(self, node, seconds_from, seconds_to, callback)
|
||||
self.node = self:get_node(node)
|
||||
|
Reference in New Issue
Block a user