public static void mobSpawner() {
//		int mobSpawnGoal1;
//		int mobSpawnGoal2;
//		int mobSpawnGoal3;
//		mobSpawnGoal1 = 1;
		if(spawnFrameMob1 >= spawnTimeMob1){				// && mobSpawnCount1 < mobSpawnGoal1
			for(int i = 0; i < Screen.mobs.length; i++){
				if(!Screen.mobs[i].inGame){
					Screen.mobs[i].spawnMob(Value.mobGreen);
					mobSpawnCount1 += 1;
					break;
				}
			}
			spawnFrameMob1 = 0;
		}
		else {
			spawnFrameMob1 += 1;
//			if(mobSpawnCount1 >= mobSpawnGoal1){
//				Screen.hasWonWave();
//				mobSpawnGoal1 = Screen.killsToWin + Screen.currentWave;
//				System.out.println(mobSpawnGoal1);
//			}
		}
		if(spawnFrameMob2 >= spawnTimeMob2){
			for(int i = 0; i < Screen.mobs.length; i++){
				if(!Screen.mobs[i].inGame){
					Screen.mobs[i].spawnMob(Value.mobPink);
					mobSpawnCount2 += 1;
					break;
				}
			}
			spawnFrameMob2 = 0;
		}
		else {
			spawnFrameMob2 += 1;
		}
		if(spawnFrameMob3 >= spawnTimeMob3){
			for(int i = 0; i < Screen.mobs.length; i++){
				if(!Screen.mobs[i].inGame){
					Screen.mobs[i].spawnMob(Value.mobYellow);
					mobSpawnCount3 += 1;
					break;
				}
			}
			spawnFrameMob3 = 0;
		}
		else {
			spawnFrameMob3 += 1;
		}

	}