def METHOD_NAME(self):
    """
    Scroll the window to the player.
    if CAMERA_SPEED is 1, the camera will immediately move to the desired position.
    Anything between 0 and 1 will have the camera move to the location with a smoother
    pan.
    """
    position = (
        self.player_sprite.center_x - self.width / 2,
        self.player_sprite.center_y - self.height / 2
    )
    self.camera_sprites.move_to(position, CAMERA_SPEED)