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;
 }
Exemple #2
0
 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;
 }
Exemple #5
0
 public void Init()
 {
     _pokerGame = new PokerGame();
 }
 public override void SetGame(IPokerGame c)
 {
     base.SetGame(c);
     InitializePokerObserverForGui();
     InitializePokerObserverForConsole();
 }
 public PokerGameObserver(IPokerGame game)
 {
     m_Game = game;
 }
Exemple #8
0
 public virtual void SetGame(IPokerGame c)
 {
     m_Game = c;
 }
Exemple #9
0
 public override void SetGame(IPokerGame c)
 {
     base.SetGame(c);
     InitializePokerObserverForGui();
     InitializePokerObserverForConsole();
 }
Exemple #10
0
 public void SetGame(IPokerGame c)
 {
 }