feat: add labels
This commit is contained in:
@@ -111,6 +111,10 @@ class Piece(Entity):
|
||||
self.applying_gravity = self._apply_gravity(elapsed_time, game.well, game.stack)
|
||||
self.applying_set = not self.applying_gravity
|
||||
|
||||
"""
|
||||
For more information on the piece set logic go here:
|
||||
https://strategywiki.org/wiki/Tetris/Features#Lock_delay
|
||||
"""
|
||||
if self.applying_set:
|
||||
self.applying_set = self._apply_set(elapsed_time, game)
|
||||
self.applying_gravity = not self.applying_set
|
||||
|
||||
Reference in New Issue
Block a user