Example #1
0
    public void StopGeneration()
    {
        GenerationController controller = GenerationController.GetInstance();

        controller.Stop();
    }
Example #2
0
    public void GetNextGeneration()
    {
        GenerationController controller = GenerationController.GetInstance();

        controller.Next();
    }
Example #3
0
    public void PlayLife()
    {
        GenerationController controller = GenerationController.GetInstance();

        controller.Play();
    }
Example #4
0
    public void GetPreGeneration()
    {
        GenerationController controller = GenerationController.GetInstance();

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