Example #1
0
 public void AddRange(Piles.Pile pile, Predicate <Card> predicate, Players.DeckLocation currentLocation, Players.DeckLocation destination)
 {
     foreach (Card card in pile[predicate])
     {
         this.Add(new CardMovement(card, currentLocation, destination));
     }
 }
Example #2
0
 public void AddRange(Piles.Pile pile, Players.DeckLocation currentLocation, Players.DeckLocation destination)
 {
     AddRange(pile, c => true, currentLocation, destination);
 }
Example #3
0
 public CardMovementCollection(Piles.Pile pile, Predicate <Card> predicate, Players.DeckLocation currentLocation, Players.DeckLocation destination)
     : base()
 {
     this.AddRange(pile, predicate, currentLocation, destination);
 }