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