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