diff --git a/src/main/java/de/hsfulda/onses/models/Game.java b/src/main/java/de/hsfulda/onses/models/Game.java index 6a64133..5072b7c 100644 --- a/src/main/java/de/hsfulda/onses/models/Game.java +++ b/src/main/java/de/hsfulda/onses/models/Game.java @@ -10,6 +10,8 @@ public class Game { private GameService gameService; private PlayerService playerService; + private boolean gameOver; + private final ArrayList drawCardDeck = new ArrayList<>(); private Card lastPlayedCard = null; @@ -56,4 +58,12 @@ public class Game { { this.playerService = new PlayerService().setGame(this); } + + public void setGameOver(boolean gameOver) { + this.gameOver = gameOver; + } + + public boolean getGameOver() { + return gameOver; + } }