public void update(GameContainer gc, StateBasedGame sbg, EnemyManager enemyManager, int delta){
		if (this.currentWave < this.waves.length) {
			if (!this.waveOver) {
				if (this.waves[this.currentWave].isOver()) {
					this.waveOver = true;
					this.nextWaveIn = WaveManager.TIMEBETWEENWAVES;
					//wave is over, check to see if the player lost any health, if not increase their multiplier by 1
					if (this.healthStart <= PlayerData.health)
						PlayerData.increaseMultiplier(1);
					this.healthStart = PlayerData.health;
					
					if ((this.currentWave + 1) == this.waves.length) {
						this.wavesFinished = true;
					}
					
				}
				else {
					this.waves[this.currentWave].update(gc, sbg, enemyManager, delta);
				}
			}
			else {
				//wave is over start counting down until next wave
				this.nextWaveIn -= delta;
				if (this.nextWaveIn <= 0) {
					this.currentWave++;
					this.waveOver = false;
				}
			}
		}
		else {
			this.wavesFinished  = true;
		}
	}