public void scorePoint(Player player1, Player player2, boolean isEndless) {
        if (!isEndless) {
            if (x > FRAME_WIDTH - 2 * r) {
                player1.score();
                toCenter();
            }
        }

        if (x < 0) {
            player2.score();
            toCenter();
        }
    }