mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-22 16:49:01 -06:00
5606251ea7
- Implemented retry button* - Escape on mode select sends you to title screen - Escape on title screen closes the game - Added "Exit Game" entry on title screen, closes the game when selected *Pardon my angry comment in `scene/game.lua`.
24 lines
301 B
Lua
24 lines
301 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:onKeyPress(e)
|
|
end
|
|
|
|
return ExitScene
|
|
|