public void Resolve(GameWinObserver gameWinObserver, GameBehaviour game, SimulationTime time) { _time = time; _game = game; _winObserver = gameWinObserver; _winObserver.WinnerFoundEvent += OnWinnerFound; }
public void Resolve(GameWinObserver winObserver) { winObserver.WinningColorChangedEvent += OnWinningColorChanged; OnWinningColorChanged(winObserver.WinningColor); }