linter fixes
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
function IntroWindow.draw()
|
||||
function IntroWindow.draw()
|
||||
local x = (Config.screen.width - 132) / 2 -- Centered text
|
||||
Print.text(Context.intro.text, x, Context.intro.y, Config.colors.green)
|
||||
end
|
||||
|
||||
function IntroWindow.update()
|
||||
function IntroWindow.update()
|
||||
Context.intro.y = Context.intro.y - Context.intro.speed
|
||||
|
||||
-- Count lines in intro text to determine when scrolling is done
|
||||
@@ -21,5 +21,4 @@ function IntroWindow.update()
|
||||
if Input.menu_confirm() then
|
||||
GameWindow.set_state(WINDOW_MENU)
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user