示例#1
0
 public override void RegisterView(IBoardView view)
 {
     base.RegisterView(view);
     _gameManagerService.NewGameReceived += OnNewGameReceived;
     _gameManagerService.CardUpdate      += OnCardUpdate;
     _gameManagerService.GameFinished    += OnGameFinished;
     _gameManagerService.Splashed        += OnSplashed;
     _gameManagerService.Unblocked       += OnUnblocked;
     view.CardSelected       += _gameManagerService.PlayThisCard;
     view.SplashZoneSelected += _gameManagerService.HumanSplash;
     view.StartGameEvent     += _gameManagerService.StartGame;
     _screenManager.ShowSpinner();
     _gameManagerService.Initialize(view.GameMode);
 }