Exemplo n.º 1
0
 def get_ghost(self, piece: Piece) -> Piece:
     ghost = Piece(piece.shape,
                   piece.rotation,
                   piece.x,
                   piece.y,
                   ghost=True)
     ghost.fall(self.collision)
     return ghost