/** * Pause the music playback */ public void pause() { playing = false; AudioImpl.pauseMusic(); }
/** * Resume the music playback */ public void resume() { playing = true; AudioImpl.restartMusic(); }