2023-09-04 18:20:02 +00:00
|
|
|
local lg = assert( love.graphics )
|
2023-09-04 18:31:47 +00:00
|
|
|
local scene = assert( require 'client.scene' )
|
2023-09-04 18:20:02 +00:00
|
|
|
local browser = {}
|
|
|
|
|
|
|
|
function browser.draw()
|
|
|
|
lg.rectangle( "fill", 50, 50, 50, 50 )
|
|
|
|
end
|
|
|
|
|
|
|
|
function browser.update( dt )
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
function browser.onLoad( )
|
|
|
|
lg.setColor( 1, 1, 1, 1 )
|
|
|
|
end
|
|
|
|
|
2023-09-05 00:40:07 +00:00
|
|
|
function browser.mousepressed()
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
function browser.keypressed( key, code, isRepeat )
|
|
|
|
if code == "escape" then return scene.mainmenu() end
|
|
|
|
end
|
|
|
|
|
|
|
|
scene.browser = browser
|
|
|
|
return browser
|