From ef9f5a738cd49a77e459d5a68ff985e814976a41 Mon Sep 17 00:00:00 2001 From: fdai7906 Date: Thu, 25 Jan 2024 12:50:05 +0100 Subject: [PATCH] Adding drawCardDeck --- src/main/java/de/hsfulda/onses/models/Game.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main/java/de/hsfulda/onses/models/Game.java b/src/main/java/de/hsfulda/onses/models/Game.java index 3ac05ca..be6f1e1 100644 --- a/src/main/java/de/hsfulda/onses/models/Game.java +++ b/src/main/java/de/hsfulda/onses/models/Game.java @@ -1,6 +1,9 @@ package de.hsfulda.onses.models; +import java.util.ArrayList; + public class Game { + private final ArrayList drawCardDeck = new ArrayList<>(); private Card lastPlayedCard = null; @@ -12,4 +15,8 @@ public class Game { this.lastPlayedCard = lastPlayedCard; return this; } + + public ArrayList getDrawCardDeck() { + return drawCardDeck; + } }