public void SetLevelEnemies(ILevelEnemies levelEnemies) { this.levelEnemies = levelEnemies; enemySpawnContexts = new EnemySpawnContext[levelEnemies.NumberOfLanes]; for (int i = 0; i < levelEnemies.NumberOfLanes; i++) { enemySpawnContexts[i] = new EnemySpawnContext(); } }
public LevelEnemiesBuilder() { levelEnemies = Substitute.For <ILevelEnemies>(); }