public void Init(CurrentLevelController currentLevelController, int pointsStartValue) { this.currentLevelController = currentLevelController; currentValue = pointsStartValue; tmpText.text = currentValue.ToString(); cards.ForEach((x) => x.gameObject.SetActive(false)); }
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()); }