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