section and within annotations for ldoc
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful

This commit is contained in:
2026-02-25 23:24:53 +01:00
parent 297ee8b622
commit 777c27aa54
27 changed files with 175 additions and 2 deletions

View File

@@ -1,3 +1,4 @@
--- @section IntroWindow
IntroWindow.y = Config.screen.height
IntroWindow.speed = 0.5
IntroWindow.text = [[
@@ -14,12 +15,14 @@ on than meets the eye.
]]
--- Draws the intro window.
--- @within IntroWindow
function IntroWindow.draw()
local x = (Config.screen.width - 132) / 2
Print.text(IntroWindow.text, x, IntroWindow.y, Config.colors.green)
end
--- Updates the intro window logic.
--- @within IntroWindow
function IntroWindow.update()
IntroWindow.y = IntroWindow.y - IntroWindow.speed