Exemplo n.º 1
0
        public SpawnWave(SpawnWaveData spawnWaveData, WaveSpawner owner)
        {
            _spawnWaveData = spawnWaveData;
            _owner         = owner;

            foreach (SpawnGroupData spawnGroup in _spawnWaveData.SpawnGroups)
            {
                _spawnGroups.Add(new SpawnGroup(spawnGroup, _owner, this));
            }
        }
Exemplo n.º 2
0
 public SpawnGroup(SpawnGroupData spawnGroupData, WaveSpawner owner, SpawnWave wave)
 {
     _spawnGroupData = spawnGroupData;
     _owner          = owner;
     _wave           = wave;
 }