createInputField (coords, inputFieldComponent) {
    var infield = new InputField({
      game: this.game,
      viewGroup: this.menuViewGroup,
      x: coords.x,
      y: coords.y,
      parameters: inputFieldComponent.parameters
    })
    this.activeInputFields.push(infield)
    return infield
  }
/**
   * Creates a new input field to the menu
   * @param {Object} inputFieldComponent - contains the input component values.
   */
Creates a new input field to the menu
@param {Object} inputFieldComponent - contains the input component values.
Creates a new input field to the menu @param { Object } inputFieldComponent - contains the input component values .
createInputField (coords, inputFieldComponent) {
    var infield = new InputField({
      game: this.game,
      viewGroup: this.menuViewGroup,
      x: coords.x,
      y: coords.y,
      parameters: inputFieldComponent.parameters
    })
    this.activeInputFields.push(infield)
    return infield
  }
createInputField ( coords , inputFieldComponent ) { var infield = new InputField ( { game : this . game , viewGroup : this . menuViewGroup , x : coords . x , y : coords . y , parameters : inputFieldComponent . parameters } ) this . activeInputFields . push ( infield ) return infield }
Creates a new input field to the menu
 @param {Object} inputFieldComponent - contains the input component values.
Creates a new input field to the menu @param { Object } inputFieldComponent - contains the input component values .