Add files via upload

This commit is contained in:
adrienmalin 2019-02-08 21:52:35 +01:00 committed by GitHub
parent bce4a5cf26
commit ce064c664f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -151,9 +151,10 @@ class Tetromino:
self.orientation = 0
self.rotation_point_5_used = False
self.rotated_last = False
self.lock_timer = None
self.hold_enabled = True
self.scheduler = matrix.game.scheduler
self.lock_timer = None
self.fall_timer = None
self.hold_enabled = True
def move(self, movement, lock=True):
potential_position = self.position + movement