public SpawningState(SpawningWaves waves, MonoBehaviour instance) : base(waves, instance)
 {
     enemiesSpawning = new SpawningEnemies(waves.GetWaveByIndex(waves.nextWave), instance);
     spawningStarted = false;
 }
Beispiel #2
0
 public State(SpawningWaves waves, MonoBehaviour instance)
 {
     this.waves    = waves;
     this.instance = instance;
 }
Beispiel #3
0
 public WaitingState(SpawningWaves waves, MonoBehaviour instance) : base(waves, instance)
 {
 }