Ejemplo n.º 1
0
 public void Init(PointValuesController pointValuesController, CurrentLevelController currentLevelController)
 {
     this.pointValuesController  = pointValuesController;
     this.currentLevelController = currentLevelController;
     path = pathProvider.StartPathElements;
     path.AddRange(boardController.GetPath());
     path.AddRange(pathProvider.EndPathElements);
     StartCoroutine(SpawnEnemy());
 }
 public void Init(PointValuesController pointValuesController)
 {
     this.pointValuesController = pointValuesController;
     figuresNames = new List <string>();
     figures.ForEach(x => figuresNames.Add(x.name));
 }