From 1d85b32fb85877e765a98cba770b4f00428e504c Mon Sep 17 00:00:00 2001 From: fdai7906 Date: Wed, 7 Feb 2024 16:33:13 +0100 Subject: [PATCH] add botIsEnemy in Constructor --- src/main/java/de/hsfulda/onses/services/GameService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/de/hsfulda/onses/services/GameService.java b/src/main/java/de/hsfulda/onses/services/GameService.java index 29c01d5..6176f7c 100644 --- a/src/main/java/de/hsfulda/onses/services/GameService.java +++ b/src/main/java/de/hsfulda/onses/services/GameService.java @@ -24,6 +24,7 @@ public class GameService { public GameService(Game game) { this.game = game; this.game.setGameService(this); + this.game.getPlayerService().getPlayerList().getLast().setEnemy(true); fillDrawDeck(); shuffleDeck(); setFirstCard();