create () {
    this.loadHighscoreToLocalStorage()

    this.menu = new MenuBuilder(this, 'gameover', this.camera.height * 5 / 9, this.gameData.config)
    this.stage.backgroundColor = 0x000000
    var inputField = this.addInputFieldToMenu()
    this.addButtonsToMenu(inputField)
  }
/**
   * Creates the elements shown in the menu.
   * The input field is added first so that its value can be read by the submit
   * button.
   */
Creates the elements shown in the menu.
The input field is added first so that its value can be read by the submit
button.
Creates the elements shown in the menu . The input field is added first so that its value can be read by the submit button .
create () {
    this.loadHighscoreToLocalStorage()
    this.menu = new MenuBuilder(this, 'gameover', this.camera.height * 5 / 9, this.gameData.config)
    this.stage.backgroundColor = 0x000000
    var inputField = this.addInputFieldToMenu()
    this.addButtonsToMenu(inputField)
  }
create ( ) { this . loadHighscoreToLocalStorage ( ) this . menu = new MenuBuilder ( this , 'gameover' , this . camera . height * 5 / 9 , this . gameData . config ) this . stage . backgroundColor = 0x000000 var inputField = this . addInputFieldToMenu ( ) this . addButtonsToMenu ( inputField ) }
Creates the elements shown in the menu.
Creates the elements shown in the menu .