private void upgradeCoaster(int upg) {
		switch (select) {
		case 1:
			if (!coast1.checkUpgrade(upg) && gold > upgradePrices[upg - 1]) {
				coast1.upgrade(upg);
				gold -= upgradePrices[upg - 1];
			}
			break;
		case 2:
			if (!coast2.checkUpgrade(upg) && gold > upgradePrices[upg - 1]) {
				coast2.upgrade(upg);
				gold -= upgradePrices[upg - 1];
			}
			break;
		case 3:
			if (!coast3.checkUpgrade(upg) && gold > upgradePrices[upg - 1]) {
				coast3.upgrade(upg);
				gold -= upgradePrices[upg - 1];
			}
			break;
		}
	}