void CompletePurchase(Upgrade upgrade) { upgradeSystem.UpdatePartsCount(-currentUpgrade.cost); upgradeSystem.UpdateHP(currentUpgrade.HPModifier); upgradeSystem.UpdatePower(currentUpgrade.powerModifier); upgradeSystem.UpdateSpeed(currentUpgrade.speedModifier); }