Пример #1
0
 public DeckRegularDict <MonopolyCardGameCardInformation> GetSelectedItems => HandList.GetSelectedItems(); //hopefully this simple
 public void GetNumberOfItems(int howMany)
 {
     howMany.Times(x =>
     {
         var thisCard  = HandList.Last();
         thisCard.Drew = true;
         HandList.RemoveSpecificItem(thisCard);
         _gameContainer.SingleInfo !.MainHandList.Add(thisCard);
     });
     if (_gameContainer.SingleInfo !.PlayerCategory == EnumPlayerCategory.Self)
     {
         _gameContainer.SingleInfo.MainHandList.Sort();
     }
 }