Пример #1
0
	def show_screen(self, screen):
		if screen:
			Shell.show_screen(self, screen)
Пример #2
0
	def run(self):
		try:
			self.handle_command_line_options()
			Shell.run(self)
		except Cancel:
			pass
Пример #3
0
	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())
Пример #4
0
 def show_screen(self, screen):
     if screen:
         Shell.show_screen(self, screen)
Пример #5
0
 def run(self):
     try:
         self.handle_command_line_options()
         Shell.run(self)
     except Cancel:
         pass
Пример #6
0
 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())