def show_screen(self, screen): if screen: Shell.show_screen(self, screen)
def run(self): try: self.handle_command_line_options() Shell.run(self) except Cancel: pass
def __init__(self, game, options): self.game = game self.options = options display = pygame.display.get_surface() Shell.__init__(self, display) self.set_timer(options.frame_time())