src/pieces.py
def display(self, window: pg.surface.Surface):
        """Display the pieces on the surface window"""
        window.blit(
            self.sprite, (self.pos["x"] + PIECE_MARGIN,
                          self.pos["y"] + PIECE_MARGIN)
        )
Display the pieces on the surface window
Display the pieces on the surface window
Display the pieces on the surface window
def display(self, window: pg.surface.Surface):
        window.blit(
            self.sprite, (self.pos["x"] + PIECE_MARGIN,
                          self.pos["y"] + PIECE_MARGIN)
        )
def display ( self , window : pg . surface . Surface ) : window . blit ( self . sprite , ( self . pos [ "x" ] + PIECE_MARGIN , self . pos [ "y" ] + PIECE_MARGIN ) )
Display the pieces on the surface window
Display the pieces on the surface window
"""Display the pieces on the surface window"""
self
window
pg.surface.Surface