protected void updatePowerUps() {
        for (int i = 0; i < powerUpList.size(); i++) {
            if (powerUpList.get(i).isExpired()) {
                powerUpList.remove(i);
            }
        }

        for (PowerUp p : powerUpList) {
            p.move();
            p.bounceOffWalls();
            p.score(paddle1, player1);
            if (!isEndless) {
                p.score(paddle2, player2);
            }
        }
    }