update() { // Update cookie production this.cookies += this.buildings.reduce((acc, building) => acc + building.productionRate, 0); } }