state changes and a menu
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
function GameKeyPressed(key)
|
||||
if key == "escape" then
|
||||
love.event.quit()
|
||||
_G.GAMESTATE = "MENU"
|
||||
print("STATE CHANEGD: MENU!")
|
||||
end
|
||||
|
||||
if key == "b" then
|
||||
|
||||
Reference in New Issue
Block a user