Exemplo n.º 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));
     }
 }
Exemplo n.º 2
0
 public void AddRange(Piles.Pile pile, Players.DeckLocation currentLocation, Players.DeckLocation destination)
 {
     AddRange(pile, c => true, currentLocation, destination);
 }
Exemplo n.º 3
0
 public CardMovementCollection(Piles.Pile pile, Predicate <Card> predicate, Players.DeckLocation currentLocation, Players.DeckLocation destination)
     : base()
 {
     this.AddRange(pile, predicate, currentLocation, destination);
 }