restart(music = false) {
		if (!this.isRunning()) {
			// restart the main loop
			_startRunLoop();
			// current music stop
			if (music === true) {
				resumeTrack();
			}

			// calculate the elpased time
			_pauseTime = globalThis.performance.now() - _pauseTime;

			// publish the restart notification
			eventEmitter.emit(STATE_RESTART, _pauseTime);
		}
	}
Restart the current stage from a full stop.
@name restart
@memberof state
@public
@param {boolean} [music=false] - resume current music track on screen resume