예제 #1
0
        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();
            }
        }
예제 #2
0
 public LevelEnemiesBuilder()
 {
     levelEnemies = Substitute.For <ILevelEnemies>();
 }