draw (sections) {
    this.active = new Set()
    this.activeSections = []

    this.activeButtons = []
    this.activeTexts = []
    this.activeInputFields = []

    this.layout.init(sections)
    this.updateMenu(sections)
    this.game.world.bringToTop(this.background)
    this.game.world.bringToTop(this.menuViewGroup)
  }
/**
   * Redraws the menu with given components
   * @param {*} sections
   */
Redraws the menu with given components
@param {*} sections
Redraws the menu with given components @param { * } sections
draw (sections) {
    this.active = new Set()
    this.activeSections = []
    this.activeButtons = []
    this.activeTexts = []
    this.activeInputFields = []
    this.layout.init(sections)
    this.updateMenu(sections)
    this.game.world.bringToTop(this.background)
    this.game.world.bringToTop(this.menuViewGroup)
  }
draw ( sections ) { this . active = new Set ( ) this . activeSections = [ ] this . activeButtons = [ ] this . activeTexts = [ ] this . activeInputFields = [ ] this . layout . init ( sections ) this . updateMenu ( sections ) this . game . world . bringToTop ( this . background ) this . game . world . bringToTop ( this . menuViewGroup ) }
Redraws the menu with given components
 @param {*} sections
Redraws the menu with given components @param { * } sections