Ejemplo n.º 1
0
 public LevelBuilder()
 {
     Dimensions        = new Vector2(60, 60);
     ObstacleGenerator = new ObstacleGenerator(Dimensions);
     SpawnerGenerator  = new SpawnerGenerator(Dimensions);
     OpponentsCreator  = new OpponentsCreator();
     BulletGenerator   = new BulletGenerator();
 }
Ejemplo n.º 2
0
 public void BuildLevel()
 {
     ObstacleGenerator.Create();
     SpawnerGenerator.Create(ObstacleGenerator.ObjectList);
 }