pass matrix on new game
This commit is contained in:
1 parent
0815409953
commit
2895570f6e
2 files changed
+4
-4
No files matched your search
@@ -186,10 +186,10 @@ class TetrisLogic:
|
||||
self.held.piece = None
|
||||
self.timer.postpone(self.stats.update_time, 1)
|
||||
|
||||
self.on_new_game(self.next.pieces)
|
||||
self.on_new_game(self.matrix, self.next.pieces)
|
||||
self.new_level()
|
||||
|
||||
def on_new_game(self, next_pieces):
|
||||
def on_new_game(self, matrix, next_pieces):
|
||||
pass
|
||||
|
||||
def new_level(self):
|
||||
|
||||
Reference in new issue
Block a user