示例#1
0
文件: hshell.py 项目: wolmir/cristina
	def show_screen(self, screen):
		if screen:
			Shell.show_screen(self, screen)
示例#2
0
文件: hshell.py 项目: wolmir/cristina
	def run(self):
		try:
			self.handle_command_line_options()
			Shell.run(self)
		except Cancel:
			pass
示例#3
0
文件: hshell.py 项目: wolmir/cristina
	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())