def move(self): if self.x >= -self.width: display.blit(self.image, (self.x, self.y)) self.x -= self.speed return True else: return False
def draw(self): display.blit(self.image, (self.location_x, (self.height)))
def return_self(self, radius, y, width, image): self.x = radius self.y = y self.width = width self.image = image display.blit(self.image, (self.x, self.y))