11 lines
160 B
Lua
11 lines
160 B
Lua
function MenuKeyPressed(key)
|
|
if key == "escape" then
|
|
love.event.quit()
|
|
end
|
|
|
|
if key == "space" then
|
|
--Change state to GAME!
|
|
GAMESTATE = "GAME"
|
|
end
|
|
end
|