public void SpawnWave()
{
Wave wave = this.DequeueWave();
if (wave != null)
{
objectManager.AudioManager.PlayWaveSound(wave.waveId);
this.objectManager.gameState.waveCount++;
this.StartCoroutine(this.CreateEnemies(wave, this.enemySpawnNodes));
if (SendWave != null)
{
SendWave();
}
}
}