Example #1
0
 private void Awake()
 {
     _moveManager = GetComponent <IMoveManager>();
     _gameBoard   = GetComponent <GameBoard>();
     _stats       = GetComponent <IStatsView>();
     _moveManager.OnTeamsRegisteredEvent += StartGame;
     _moveManager.OnReadyForNextMove     += ReadyForNextMove;
     _moveManager.OnGameForfeit          += OnGameForfeit;
 }
Example #2
0
        public StatsPresenter(IStatsView view)
        {
            _view = view;

            HandleCommands();
        }
Example #3
0
 public StatsPresenter(IStatsView view)
 {
     _view = view;
 }