Exemplo n.º 1
0
	def show_screen(self, screen):
		if screen:
			Shell.show_screen(self, screen)
Exemplo n.º 2
0
	def run(self):
		try:
			self.handle_command_line_options()
			Shell.run(self)
		except Cancel:
			pass
Exemplo n.º 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())
Exemplo n.º 4
0
 def show_screen(self, screen):
     if screen:
         Shell.show_screen(self, screen)
Exemplo n.º 5
0
 def run(self):
     try:
         self.handle_command_line_options()
         Shell.run(self)
     except Cancel:
         pass
Exemplo n.º 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())