Browse Source

Adding drawCardDeck

main
fdai7906 11 months ago
parent
commit
ef9f5a738c
  1. 7
      src/main/java/de/hsfulda/onses/models/Game.java

7
src/main/java/de/hsfulda/onses/models/Game.java

@ -1,6 +1,9 @@
package de.hsfulda.onses.models; package de.hsfulda.onses.models;
import java.util.ArrayList;
public class Game { public class Game {
private final ArrayList<Card> drawCardDeck = new ArrayList<>();
private Card lastPlayedCard = null; private Card lastPlayedCard = null;
@ -12,4 +15,8 @@ public class Game {
this.lastPlayedCard = lastPlayedCard; this.lastPlayedCard = lastPlayedCard;
return this; return this;
} }
public ArrayList<Card> getDrawCardDeck() {
return drawCardDeck;
}
} }
Loading…
Cancel
Save