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

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