countProductionFromStructures (timerEvent) {
    for (let structure of this.player.structures) {
      structure.producer.produce(timerEvent)
    }

    var sum = 0
    for (let structure of this.player.structures) {
      let amount = structure.producer.producedAmount()
      sum += amount
    }
    return sum
  }
/**
   * Goes through given structures and sums yearly and weekly productions
   * @param {Structure[]} structures
   * @param {TimerEvent} timerEvent
   */
Goes through given structures and sums yearly and weekly productions
@param {Structure[]} structures
@param {TimerEvent} timerEvent
Goes through given structures and sums yearly and weekly productions @param { Structure [] } structures @param { TimerEvent } timerEvent
countProductionFromStructures (timerEvent) {
    for (let structure of this.player.structures) {
      structure.producer.produce(timerEvent)
    }
    var sum = 0
    for (let structure of this.player.structures) {
      let amount = structure.producer.producedAmount()
      sum += amount
    }
    return sum
  }
countProductionFromStructures ( timerEvent ) { for ( let structure of this . player . structures ) { structure . producer . produce ( timerEvent ) } var sum = 0 for ( let structure of this . player . structures ) { let amount = structure . producer . producedAmount ( ) sum += amount } return sum }
Goes through given structures and sums yearly and weekly productions
 @param {Structure[]} structures
 @param {TimerEvent} timerEvent
Goes through given structures and sums yearly and weekly productions @param { Structure [] } structures @param { TimerEvent } timerEvent