commit 2c16960e6eeafdc8c68294382bc7cbbb3cfd8cb8
parent 88c85638b61e79c5283fa2ce3ed69223820256bc
Author: Michael Neuper <73108749+michaelneuper@users.noreply.github.com>
Date: Fri, 7 Oct 2022 08:01:07 +0200
update Deck.java
Diffstat:
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/src/model/Deck.java b/src/model/Deck.java
@@ -86,7 +86,7 @@ public class Deck {
/**
* Method to add a card to a hand
- * @param addCard
+ * @param addCard card to be added
*/
public void addCard(Card addCard) {
this.deck.add(addCard);
@@ -96,7 +96,7 @@ public class Deck {
* Method to take a copy of the first card from the deck,
* remove the card from the deck
* and return the card
- * @return card
+ * @return card card to be removed
*/
public Card takeCard() {
Card cardToTake = new Card(deck.get(0));
@@ -114,4 +114,4 @@ public class Deck {
}
return output;
}
-}
-\ No newline at end of file
+}