void mainGameLoop() {
		while(hats > 0){
			Random rand = new Random();
			topHats.add(new TopHatShape(rand.nextInt(resX), rand.nextInt(resY), width, height));
			hats--;
		}
		hats = 30;
		
		lastLoopTime = System.currentTimeMillis();
		while (true) {
			delta = System.currentTimeMillis() - lastLoopTime;
			lastLoopTime = System.currentTimeMillis();
			switch(gameState) {
				case MAIN_MENU:
					mainMenu();
					break;
				case IN_GAME:
					//go();
					break;
				case END_GAME:
					//endGame();
					break;
				case UPGRADE_MENU:
					//upgrade();
					break;
				default:
					break;
			}//end switch
		}//end while
	}//end mainGameLoop