docs: function WaitScreen(options) {
          options = options || {};
  
          /**
           * ### WaitScreen.id
           *
           * The id of _waitingDiv_. Default: 'ng_waitScreen'
           *
           * @see WaitScreen.waitingDiv
           */
          this.id = options.id || 'ng_waitScreen';
  
          /**
           * ### WaitScreen.root
           *
           * Reference to the root element under which _waitingDiv is appended
           *
           * @see WaitScreen.waitingDiv
           */
          this.root = options.root || null;
  
          /**
           * ### WaitScreen.waitingDiv
           *
           * Reference to the HTML Element that actually locks the screen
           */
          this.waitingDiv = null;
  
          /**
           * ### WaitScreen.beforePauseText
           *
           * Flag if the screen should stay locked after a RESUMED event
           *
           * Contains the value of the innerHTML attribute of the waiting div.
           */
          this.beforePauseInnerHTML = null;
  
          /**
           * ### WaitScreen.enabled
           *
           * Flag is TRUE if the listeners are registered
           *
           * @see WaitScreen.enable
           */
          this.enabled = false;
  
          /**
           * ### WaitScreen.contentDiv
           *
           * Div containing the main content of the wait screen
           */
          this.contentDiv = null;
  
          /**
           * ### WaitScreen.countdownDiv
           *
           * Div containing the countdown span and other text
           *
           * @see WaitScreen.countdown
           * @see WaitScreen.countdownSpan
           */
          this.countdownDiv = null;
  
          /**
           * ### WaitScreen.countdownSpan
           *
           * Span containing a countdown timer for the max waiting
           *
           * @see WaitScreen.countdown
           * @see WaitScreen.countdownDiv
           */
          this.countdownSpan = null;
  
          /**
           * ### WaitScreen.countdown
           *
           * Countdown of max waiting time
           *
           * @see WaitScreen.countdown
           */
          this.countdown = null;
  
          /**
           * ### WaitScreen.text
           *
           * Default texts for default events
           */
          this.defaultTexts = {
              waiting: options.waitingText ||
                  'Waiting for other players to be done...',
              stepping: options.steppingText ||
                  'Initializing game step, will be ready soon...',
              paused: options.pausedText ||
                  'Game is paused. Please wait.'
          };
  
          /**
           * ## WaitScreen.lockedInputs
           *
           * List of locked inputs by the _lock_ method
           *
           * @see WaitScreen.lock
           */
          this.lockedInputs = [];
  
          // Registers the event listeners.
          this.enable();
      }