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); }
public PokerGameBase() { Players = new QList <TPlayer>(); }