onResize(width = this.config.view.width, height = this.config.view.height) {
    center(this.background, { width, height });
    this.game.onResize(width, height);

    if (this.config.view.centerOnResize) {
      this.viewport.x = width / 2;
      this.viewport.y = height / 2;
    }
  }
/**
     * Called after the browser window has been resized.
     * Implement game specific resize logic here
     * @param  {PIXI.Application} app The PIXI Appliaction instance
     * @param  {Number} width         The updated viewport width
     * @param  {Number} height        The updated viewport width
     */
Called after the browser window has been resized.
Implement game specific resize logic here
@param  {PIXI.Application} app The PIXI Appliaction instance
@param  {Number} width         The updated viewport width
@param  {Number} height        The updated viewport width
Called after the browser window has been resized . Implement game specific resize logic here @param { PIXI . Application } app The PIXI Appliaction instance @param { Number } width The updated viewport width @param { Number } height The updated viewport width
onResize(width = this.config.view.width, height = this.config.view.height) {
    center(this.background, { width, height });
    this.game.onResize(width, height);
    if (this.config.view.centerOnResize) {
      this.viewport.x = width / 2;
      this.viewport.y = height / 2;
    }
  }
onResize ( width = this . config . view . width , height = this . config . view . height ) { center ( this . background , { width , height } ) ; this . game . onResize ( width , height ) ; if ( this . config . view . centerOnResize ) { this . viewport . x = width / 2 ; this . viewport . y = height / 2 ; } }
Called after the browser window has been resized.
Called after the browser window has been resized .