mise a jours uml + javadoc + suppretion de code inutile

This commit is contained in:
marc barbier
2020-11-11 14:28:36 +01:00
parent 63cd40c3e6
commit 3606a9a564
15 changed files with 154 additions and 100 deletions
@@ -19,12 +19,13 @@ public class Hand {
public void pickCardFromDeck(Deck deck,int amount)
{
for(int i = 0 ; i < NUMBER_OF_CARDS_IN_STARTING_HAND;i++)
for(int i = 0 ; i < amount;i++)
{
hand.add(deck.getCards().pop());
}
}
//TODO check number of card in hand
public void fillHand(Deck deck)
{
pickCardFromDeck(deck,NUMBER_OF_CARDS_IN_STARTING_HAND);