示例#1
0
 public LevelBuilder()
 {
     Dimensions        = new Vector2(60, 60);
     ObstacleGenerator = new ObstacleGenerator(Dimensions);
     SpawnerGenerator  = new SpawnerGenerator(Dimensions);
     OpponentsCreator  = new OpponentsCreator();
     BulletGenerator   = new BulletGenerator();
 }
示例#2
0
 public void CreateEnemies(List <AI.NeuralNetwork> neuralNetworks)
 {
     OpponentsCreator.CreateOpponents(enemies, SpawnerGenerator, neuralNetworks);
 }
示例#3
0
 public void CreateEnemies()
 {
     OpponentsCreator.CreateOpponents(enemies, SpawnerGenerator);
 }