mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-26 21:39:04 -06:00
863c614a4c
I had to redo how input is done entirely, so more than one source of input can be used for game inputs. I added new inputs, menu_decide and menu_back. Return and escape still have their reserved status, sending menu_decide and menu_back, respectively. Other keys are reserved too, like arrows, to ensure users can always reconfigure input.
24 lines
300 B
Lua
24 lines
300 B
Lua
local ExitScene = Scene:extend()
|
|
require 'load.save'
|
|
|
|
ExitScene.title = "Exit Game"
|
|
|
|
function ExitScene:new()
|
|
end
|
|
|
|
function ExitScene:update()
|
|
love.event.quit()
|
|
end
|
|
|
|
function ExitScene:render()
|
|
end
|
|
|
|
function ExitScene:changeOption(rel)
|
|
end
|
|
|
|
function ExitScene:onInputPress(e)
|
|
end
|
|
|
|
return ExitScene
|
|
|