From af669ae12658d67abf595469acb7a473869115a7 Mon Sep 17 00:00:00 2001 From: hexagonhexagon Date: Fri, 5 Jun 2020 22:40:15 -0400 Subject: [PATCH] Added comment on recalculateGoals() function. --- src/js/game/hud/parts/pinned_shapes.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/js/game/hud/parts/pinned_shapes.js b/src/js/game/hud/parts/pinned_shapes.js index 2171f76c..cecbe400 100644 --- a/src/js/game/hud/parts/pinned_shapes.js +++ b/src/js/game/hud/parts/pinned_shapes.js @@ -89,6 +89,10 @@ export class HUDPinnedShapes extends BaseHUDPart { } } + /** + * Updates the goal amounts in the pins when an upgrade is made. + * @param {string} upgradeId + */ recalculateGoals(upgradeId) { const amountForUpgradeShape = {};