aboutsummaryrefslogtreecommitdiffstats
path: root/main.lua
diff options
context:
space:
mode:
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/main.lua b/main.lua
index 48eb910..d6b4170 100644
--- a/main.lua
+++ b/main.lua
@@ -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