public override void SetGame(IPokerGame c) { base.SetGame(c); m_Game.Observer.PlayerActionNeeded += OnPlayerActionNeeded; m_Game.Observer.SitInResponseReceived += OnSitInResponseReceived; m_Game.Observer.SitOutResponseReceived += OnSitOutResponseReceived; m_Game.Observer.SeatUpdated += OnGameGenerallyUpdated; m_Game.Observer.GameGenerallyUpdated += OnGameGenerallyUpdated; }
public override void SetGame(IPokerGame c) { base.SetGame(c); m_Game.Observer.PlayerActionNeeded += OnPlayerActionNeeded; m_Game.Observer.SitInResponseReceived += OnSitInResponseReceived; m_Game.Observer.SitOutResponseReceived += OnSitOutResponseReceived; m_Game.Observer.SeatUpdated += OnGameGenerallyUpdated; m_Game.Observer.GameGenerallyUpdated += OnGameGenerallyUpdated; m_Game.Observer.DiscardActionNeeded += OnDiscardActionNeeded; }
public PokerGameObserver(IPokerGame game) { m_Game = game; }
public virtual void SetGame(IPokerGame c) { m_Game = c; }
public void Init() { _pokerGame = new PokerGame(); }
public override void SetGame(IPokerGame c) { base.SetGame(c); InitializePokerObserverForGui(); InitializePokerObserverForConsole(); }
public void SetGame(IPokerGame c) { }