Exemplo n.º 1
0
	def createNewShape(self):
		choice = gameEngine.getRandomNumber(0, len(shapes.shapes)-1)
		matrix = shapes.shapes[choice]
		self.shape = matrix
Exemplo n.º 2
0
	def __init__(self):
		choice = gameEngine.getRandomNumber(0, len(shapes.shapes)-1)
		matrix = shapes.shapes[choice]
		super().__init__(matrix)