def __init__(self): self.game=Gamelolz(self) self.menu=menulists self.menu.init_menu() self.game.start() while self.menu.exit_menu(): self.game.start()
class pylaga: def __init__(self): self.game=Gamelolz(self) self.menu=menulists self.menu.init_menu() self.game.start() while self.menu.exit_menu(): self.game.start()
def __init__(self): self.game=Gamelolz(self) self.menu=menulists global inputmanager #because everyone should be able to access it. self.inputmanager=InputManager(self.game) #pygame.register_quit(self.inputmanager.sysexit) self.menu.init_menu() self.game.start() while self.menu.exit_menu(self.game.points): self.game.start()
class pylaga: def __init__(self): self.game=Gamelolz(self) self.menu=menulists global inputmanager #because everyone should be able to access it. self.inputmanager=InputManager(self.game) #pygame.register_quit(self.inputmanager.sysexit) self.menu.init_menu() self.game.start() while self.menu.exit_menu(self.game.points): self.game.start()