Пример #1
0
 private void startGame() {
   timer.setDelay(INITIAL_DELAY);
   timer.setPaused(false);
   start_newgame_butt.setLabel("Start New Game");
   pause_resume_butt.setEnabled(true);
   pause_resume_butt.setLabel("Pause");
   pause_resume_butt.validate();
   sounds.playSoundtrack();
 }
Пример #2
0
 private void resumeGame() {
   timer.setPaused(false);
   pause_resume_butt.setLabel("Pause");
   sounds.playSoundtrack();
 }