You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Its a bit weird that in EndState.lua we create a new instance of the startstate.
-- Restart the game by pressing spaceiflove.keyboard.isDown("space") thenGameOverFlag=falsestateManager:switch(LevelState:new())
elseifGameOverFlagandlove.keyboard.isDown("q") thenprint("Return to menu")
GameOverFlag=falsestateManager:switch(StartState:new())
end
The text was updated successfully, but these errors were encountered:
Its a bit weird that in
EndState.lua
we create a new instance of the startstate.The text was updated successfully, but these errors were encountered: