Example #1
0
        public PlayerBase(object _hostGame)
        {
            HostGame = _hostGame;

            //use QList to enable automatic parent navigational property setting/un-setting during add/removal
            PlayingCardsOnHand        = new QList <PlayingCard>();
            PlayingCardsOnHand.OnAdd += new QList <PlayingCard> .ItemAddedEventHandler(OnCardAdded);

            PlayingCardsOnHand.BeforeClear += new EventHandler(OnClearing);
        }
Example #2
0
 public PokerGameBase()
 {
     Players = new QList <TPlayer>();
 }