コード例 #1
0
 public void ReturnCard(Card card)
 {
     if (this.OwnsCard(card.Id))
     {
         OwnedCards = OwnedCards.Remove(card);
     }
 }
コード例 #2
0
 public State RemoveMajorImprovement(int id)
 {
     MajorImprovements = MajorImprovements.Remove(id);
     OwnedCards        = OwnedCards.Remove(Curator.GetMajorImprovement(id));
     return(State);
 }