public void poistaTaydetRivit(List<Integer> taydet) {
        if (taydet.size() > 1){
            Collections.sort(taydet);
        }
        for (Integer i : taydet) {
            pelipalikat[i] = new Palikka[10];
            for (int x = i-1; x > 0; x--){
                for (int j = 0; j < pelipalikat[x].length; j++){
                    if (pelipalikat[x][j] != null){
                        pelipalikat[x][j].putoa();
                        pelipalikat[x+1][j] = pelipalikat[x][j];
                        pelipalikat[x][j] = null;
                    }
                }
            }
        }
        this.pisteet += 100 * taydet.size();
        this.rivit += taydet.size();
        laskeTaso();
        paivitaPisteetJaTaso();
    }