DrawPileUI and DiscardPileUI
This commit is contained in:
parent
567b732f85
commit
05fee309c3
8 changed files with 338 additions and 7 deletions
|
|
@ -29,10 +29,18 @@ public class HeroDeck
|
|||
this.drawPile.Shuffle();
|
||||
}
|
||||
|
||||
public List<BaseCard> GetHand() {
|
||||
public List<BaseCard> GetDrawPile() {
|
||||
return drawPile;
|
||||
}
|
||||
|
||||
public List<BaseCard> GetHandPile() {
|
||||
return handPile;
|
||||
}
|
||||
|
||||
public List<BaseCard> GetDiscardPile() {
|
||||
return discardPile;
|
||||
}
|
||||
|
||||
public void DrawHand() {
|
||||
for (int i = 0; i < DEFAULT_HAND_DRAWN; i++) {
|
||||
DrawCardInternal();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue