public void Subscribe(IHitObserver a_subscriber)
 {
     m_dealer.Subscribe(a_subscriber);
     m_player.Subscribe(a_subscriber);
 }
Beispiel #2
0
 public Game()
 {
     m_dealer = new Dealer(new rules.RulesFactory());
     m_player = new Player();
     m_dealer.Subscribe(this);
 }
Beispiel #3
0
 public Game()
 {
     m_dealer = new Dealer(new rules.RulesFactory());
     m_player = new Player();
     m_dealer.Subscribe(this);
 }
Beispiel #4
0
 public void SubscriptionToNewCards(ISubscriber subscriber)
 {
     m_player.Subscribe(subscriber);
     m_dealer.Subscribe(subscriber);
 }