Browse Source

add botIsEnemy in Constructor

main
fdai7906 11 months ago
parent
commit
1d85b32fb8
  1. 1
      src/main/java/de/hsfulda/onses/services/GameService.java

1
src/main/java/de/hsfulda/onses/services/GameService.java

@ -24,6 +24,7 @@ public class GameService {
public GameService(Game game) { public GameService(Game game) {
this.game = game; this.game = game;
this.game.setGameService(this); this.game.setGameService(this);
this.game.getPlayerService().getPlayerList().getLast().setEnemy(true);
fillDrawDeck(); fillDrawDeck();
shuffleDeck(); shuffleDeck();
setFirstCard(); setFirstCard();

Loading…
Cancel
Save