code: public void setPaused (boolean paused)
      {
          // sanity check
          if ((paused && (_pauseTime != 0)) || (!paused && (_pauseTime == 0))) {
              log.warning("Requested to pause when paused or vice-versa", "paused", paused);
              return;
          }
  
          _paused = paused;
          if (_paused) {
              // make a note of our pause time
              _pauseTime = _framemgr.getTimeStamp();
  
          } else {
              // let the animation and sprite managers know that we just warped into the future
              long delta = _framemgr.getTimeStamp() - _pauseTime;
              _animmgr.fastForward(delta);
              _spritemgr.fastForward(delta);
  
              // clear out our pause time
              _pauseTime = 0;
          }
      }
docs: Pauses the sprites and animations that are currently active on this media panel. Also stops
  listening to the frame tick while paused.