'Extracts image from sprite sheet'

def get_image(self, x, y, width, height):

    image = pg.Surface([width, height])
    rect = image.get_rect()
    image.blit(self.sprite_sheet, (0, 0), (x, y, width, height))
    image.set_colorkey(c.BLACK)
    image = pg.transform.scale(image, (int((rect.width * c.SIZE_MULTIPLIER)), int((rect.height * c.SIZE_MULTIPLIER))))
    return image
