def get_sprite_center(sprite):
    """
    Return the coordinates of the center of a sprite.


    :param sprite: A `Sprite` object.


    :return: A tuple `x, y` of the coordinates of the sprite's center
    """
    x1, y1 = sprite.top_left
    x2, y2 = sprite.bottom_right
    return (x1 + x2) // 2, (y2 + y1) // 2
