Пример #1
0
    public void StopGeneration()
    {
        GenerationController controller = GenerationController.GetInstance();

        controller.Stop();
    }
Пример #2
0
    public void GetNextGeneration()
    {
        GenerationController controller = GenerationController.GetInstance();

        controller.Next();
    }
Пример #3
0
    public void PlayLife()
    {
        GenerationController controller = GenerationController.GetInstance();

        controller.Play();
    }
Пример #4
0
    public void GetPreGeneration()
    {
        GenerationController controller = GenerationController.GetInstance();

        controller.Pre();
    }
Пример #5
0
 public FullRandomStrategy()
 {
     controller = GenerationController.GetInstance();
 }
Пример #6
0
 private void Initialize()
 {
     matrix     = new GameObject[rows, cols];
     controller = GenerationController.GetInstance();
 }
Пример #7
0
 private void Start()
 {
     controller = GenerationController.GetInstance();
     controller.GenerationChangedObserver += UpdateUI;
     timeToNewGeneration.text              = gameController.TIME_TO_NEXT_GENERATION.ToString();
 }