app/scripts/core/gameCoordinator.js
/**
   * Displays an error message in the event assets are unable to download
   */
Displays an error message in the event assets are unable to download
Displays an error message in the event assets are unable to download
displayErrorMessage() {
    const loadingContainer = document.getElementById('loading-container');
    const errorMessage = document.getElementById('error-message');
    loadingContainer.style.opacity = 0;
    setTimeout(() => {
      loadingContainer.remove();
      errorMessage.style.opacity = 1;
      errorMessage.style.visibility = 'visible';
    }, 1500);
  }
displayErrorMessage ( ) { const loadingContainer = document . getElementById ( 'loading-container' ) ; const errorMessage = document . getElementById ( 'error-message' ) ; loadingContainer . style . opacity = 0 ; setTimeout ( ( ) => { loadingContainer . remove ( ) ; errorMessage . style . opacity = 1 ; errorMessage . style . visibility = 'visible' ; } , 1500 ) ; }
Displays an error message in the event assets are unable to download
Displays an error message in the event assets are unable to download