public void KillWave(EnemyWave dedWave) { if (inWavesUpdate) { wavesDeadpool.Add(dedWave); } else { waves.Remove(dedWave); } }
public void AddWave(EnemyWave newWave) { if (inWavesUpdate) { wavesBirthpool.Add(newWave); } else { waves.Add(newWave); } }