protected void pauseGame() {
        if (gamePaused == false) {
            mainTimer.stop();
            powerUpTimer.stop();
            gamePaused = true;
            repaint();

        } else {
            startGame();
        }
    }