Esempio n. 1
0
    public DifficultySpawner(DifficultyConfig config, ISpawner spawner)
    {
        _difficultyConfig = config;

        _spawner = spawner;
        _spawner.Init(GetNewPattern);

        ResetObjects();
        Enable(true);
    }
Esempio n. 2
0
 public LevelSpawner(ISpawner spawner)
 {
     _spawner = spawner;
     _spawner.Init(GetNewPattern);
 }