def resume(): """sends a gui_destroy event then runs PauseState.unpause_game() """ messenger.send("destroy_gui", [gui.menu.pause]) PauseState.pause_ssm()
def pause(self): '''Runs functions when escape is pressed''' PauseState.pause_ssm()