mirror of
https://github.com/Insality/druid
synced 2025-09-28 10:32:20 +02:00
Add example docs for LDoc
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
--- Druid settings file
|
||||
-- @module settings
|
||||
|
||||
local M = {}
|
||||
|
||||
-- TODO: to JSON?
|
||||
M.is_debug = false
|
||||
|
||||
M.button = {
|
||||
IS_HOVER = true,
|
||||
IS_HOLD = true,
|
||||
@@ -33,13 +36,13 @@ M.scroll = {
|
||||
}
|
||||
|
||||
function M.get_text(name)
|
||||
-- override to get text for localized text
|
||||
return "locales not inited"
|
||||
-- override to get text for localized text
|
||||
return "[Druid]: locales not inited"
|
||||
end
|
||||
|
||||
|
||||
function M.play_sound(name)
|
||||
-- override to play sound with name
|
||||
-- override to play sound with name
|
||||
end
|
||||
|
||||
|
||||
@@ -50,4 +53,4 @@ function M.log(...)
|
||||
end
|
||||
|
||||
|
||||
return M
|
||||
return M
|
||||
|
Reference in New Issue
Block a user