js/modules/gui.js
/** Blanks the whole screen and interface. */
Blanks the whole screen and interface.
Blanks the whole screen and interface .
blankScreen() {
        this.rPlayerName.innerHTML = '&nbsp;'
        this.rContent.innerHTML = '&nbsp;'
        this.rDay.innerText = '-'
        this.rPlaceName.innerText = ''
        this.rRegionName.innerHTML = '&nbsp;'
        this.rTime.innerText = '--:--'
        for (var i = 0, len = this.rBars.length; i < len; i++) {
            this.rBars[i].style = 'background-position-x: calc(100% - 100% * (0 / 100));'
        }
        for (var i = 0, len = this.rBarValues.length; i < len; i++) {
            this.rBarValues[i].innerText = '0'
        }
        this.rCurrency.innerText = '0'
        this.rLevel.innerText = '0'
        this.wipeControlButtons()
        buttons.updateButtonHoverInfo()
    }
blankScreen ( ) { this . rPlayerName . innerHTML = '&nbsp;' this . rContent . innerHTML = '&nbsp;' this . rDay . innerText = '-' this . rPlaceName . innerText = '' this . rRegionName . innerHTML = '&nbsp;' this . rTime . innerText = '--:--' for ( var i = 0 , len = this . rBars . length ; i < len ; i ++ ) { this . rBars [ i ] . style = 'background-position-x: calc(100% - 100% * (0 / 100));' } for ( var i = 0 , len = this . rBarValues . length ; i < len ; i ++ ) { this . rBarValues [ i ] . innerText = '0' } this . rCurrency . innerText = '0' this . rLevel . innerText = '0' this . wipeControlButtons ( ) buttons . updateButtonHoverInfo ( ) }
Blanks the whole screen and interface.
Blanks the whole screen and interface .