Пример #1
0
class TetrisConsole(object):
    """docstring for TetrisConsole"""
    def __init__(self):
        super(TetrisConsole, self).__init__()
        self.console_screen = ConsoleScreen()
        self.tetris_timer = TetrisTimer(self.console_screen)

    def run(self):
        self.tetris_timer.runGame()
Пример #2
0
class TetrisConsole(object):
	"""docstring for TetrisConsole"""
	def __init__(self):
		super(TetrisConsole, self).__init__()
		self.console_screen = ConsoleScreen()
		self.tetris_timer = TetrisTimer(self.console_screen)


	def run(self):
		self.tetris_timer.runGame()
Пример #3
0
	def __init__(self):
		super(TetrisConsole, self).__init__()
		self.console_screen = ConsoleScreen()
		self.tetris_timer = TetrisTimer(self.console_screen)
Пример #4
0
 def __init__(self):
     super(TetrisConsole, self).__init__()
     self.console_screen = ConsoleScreen()
     self.tetris_timer = TetrisTimer(self.console_screen)