Example #1
0
        public void Resolve(GameWinObserver gameWinObserver, GameBehaviour game, SimulationTime time)
        {
            _time        = time;
            _game        = game;
            _winObserver = gameWinObserver;

            _winObserver.WinnerFoundEvent += OnWinnerFound;
        }
Example #2
0
 public void Resolve(GameWinObserver winObserver)
 {
     winObserver.WinningColorChangedEvent += OnWinningColorChanged;
     OnWinningColorChanged(winObserver.WinningColor);
 }