doTransaction (producedTurnips, timerEvent) {
    let money = this.city.buyTurnips(producedTurnips, timerEvent.endOfYear)
    this.player.addPoints(money)
    this.player.cash += money
  }
/**
   * Handles the transaction between city and the player
   * @param {number} producedTurnips
   * @param {boolean} buyYearlyHarvest
   */
Handles the transaction between city and the player
@param {number} producedTurnips
@param {boolean} buyYearlyHarvest
Handles the transaction between city and the player @param { number } producedTurnips @param { boolean } buyYearlyHarvest
doTransaction (producedTurnips, timerEvent) {
    let money = this.city.buyTurnips(producedTurnips, timerEvent.endOfYear)
    this.player.addPoints(money)
    this.player.cash += money
  }
doTransaction ( producedTurnips , timerEvent ) { let money = this . city . buyTurnips ( producedTurnips , timerEvent . endOfYear ) this . player . addPoints ( money ) this . player . cash += money }
Handles the transaction between city and the player
 @param {number} producedTurnips
 @param {boolean} buyYearlyHarvest
Handles the transaction between city and the player @param { number } producedTurnips @param { boolean } buyYearlyHarvest