librejack

Blackjack clone written in java
git clone https://github.com/michaelneuper/librejack.git
README | Files | Log | Refs | LICENSE

commit 6e0a84770b3daed81551bf06b7010f326d4785b5
parent c5b0aa1db1f81dbf7da9e31a1d0934f41c5b85cd
Author: Michael Neuper <73108749+michaelneuper@users.noreply.github.com>
Date:   Fri,  7 Oct 2022 18:03:54 +0200

Update Hand.java

Diffstat:
Msrc/controller/Hand.java | 24++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/src/controller/Hand.java b/src/controller/Hand.java @@ -11,16 +11,16 @@ import model.Deck; */ public class Hand { - private ArrayList<Card> hand; - - /** - * Hand constructor - */ - public Hand() { - hand = new ArrayList<Card>(); - } - - public void takeCardFromDeck(Deck deck) { - hand.add(deck.takeCard()); - } +// private ArrayList<Card> hand; +// +// /** +// * Hand constructor +// */ +// public Hand() { +// hand = new ArrayList<Card>(); +// } +// +// public void takeCardFromDeck(Deck deck) { +// hand.add(deck.takeCard()); +// } }