Implement acquiring cards. Thunderstorm acquires Lightning Strikes.
This commit is contained in:
parent
60afd791dd
commit
1e8d3bb068
12 changed files with 121 additions and 5 deletions
|
|
@ -92,6 +92,16 @@ public class HeroDeck
|
|||
TriggerDiscardPileChanged();
|
||||
}
|
||||
|
||||
public void PutCardOnTopOfDrawPile(BaseCard card) {
|
||||
this.drawPile.Insert(0, card);
|
||||
TriggerDrawPileChanged();
|
||||
}
|
||||
|
||||
public void ShuffleDrawPile() {
|
||||
this.drawPile.Shuffle();
|
||||
TriggerDrawPileChanged();
|
||||
}
|
||||
|
||||
private void RemakeDrawPile() {
|
||||
this.drawPile.AddRange(this.discardPile);
|
||||
this.discardPile.Clear();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue