예제 #1
0
 public void deleteCard(PropertyCard pCard)
 {
     if (gameCards.Contains(pCard))
         gameCards.Remove(pCard);
 }
예제 #2
0
 //Methods to add and delete a PropertyCard
 public void addCard(PropertyCard pCard)
 {
     if (!gameCards.Contains(pCard))
         gameCards.Add(pCard);
 }