Example #1
0
        IEnumerator GameplayTime()
        {
            while (!GameOver)
            {
                yield return(new WaitForSeconds(Constants.GAMEPLAY_TIME));

                GameplayPresenter.CheckTime();
            }
        }
 void Start()
 {
     presenter = Injector.injectGameplayPresenter(this);
     presenter.getCurrentSession();
 }
Example #3
0
 public void SetGameplayPresenter(GameplayPresenter presenter)
 {
     _presenter      = presenter;
     _generatorTimer = StartCoroutine(EventTimer());
 }