section and within annotations for ldoc
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
--- @section SplashWindow
|
||||
|
||||
--- Draws the splash window.
|
||||
--- @within SplashWindow
|
||||
function SplashWindow.draw()
|
||||
local txt = "Definitely not an Impostor"
|
||||
local y = (Config.screen.height - 6) / 2
|
||||
@@ -6,6 +9,7 @@ function SplashWindow.draw()
|
||||
end
|
||||
|
||||
--- Updates the splash window logic.
|
||||
--- @within SplashWindow
|
||||
function SplashWindow.update()
|
||||
Context.splash_timer = Context.splash_timer - 1
|
||||
if Context.splash_timer <= 0 or Input.menu_confirm() then
|
||||
|
||||
Reference in New Issue
Block a user