createBar (coords, animatedBarComponent) {
    return new AnimatedBar({
      game: this.game,
      group: this.menuViewGroup,
      vertical: animatedBarComponent.vertical,
      width: animatedBarComponent.width,
      height: animatedBarComponent.height,
      x: coords.x,
      y: coords.y,
      percent: animatedBarComponent.percent
    })
  }
/**
   * Creates a new animated bar to the menu
   * @param {*} animatedBarComponent
   */
Creates a new animated bar to the menu
@param {*} animatedBarComponent
Creates a new animated bar to the menu @param { * } animatedBarComponent
createBar (coords, animatedBarComponent) {
    return new AnimatedBar({
      game: this.game,
      group: this.menuViewGroup,
      vertical: animatedBarComponent.vertical,
      width: animatedBarComponent.width,
      height: animatedBarComponent.height,
      x: coords.x,
      y: coords.y,
      percent: animatedBarComponent.percent
    })
  }
createBar ( coords , animatedBarComponent ) { return new AnimatedBar ( { game : this . game , group : this . menuViewGroup , vertical : animatedBarComponent . vertical , width : animatedBarComponent . width , height : animatedBarComponent . height , x : coords . x , y : coords . y , percent : animatedBarComponent . percent } ) }
Creates a new animated bar to the menu
 @param {*} animatedBarComponent
Creates a new animated bar to the menu @param { * } animatedBarComponent