diff options
Diffstat (limited to 'main.lua')
-rw-r--r-- | main.lua | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -14,6 +14,8 @@ function love.update(dt) Screen.width, Screen.height = love.window.getDimensions() end -function love.draw() --- Gui.core.draw() +function love.keypressed(key) + if key == "escape" then + love.event.quit() + end end |