public void AddPointsAndGold(int pointstoAdd, int goldToAdd) { scoreKeeper.BumpScore(pointstoAdd); scoreKeeper.BumpGold(goldToAdd); UpdateUI(); if (CheckForGameOver()) { platformSpawner.ActivateEndBeam(); } }