From 673372adcabeb8460bae2dc2b71db1e872f076fd Mon Sep 17 00:00:00 2001 From: Friederike von Gruben Date: Mon, 6 Feb 2023 14:07:16 +0100 Subject: [PATCH] Edited BlackJack constructor Set playerIn = true --- src/main/java/org/bitbiome/classes/BlackJack.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/org/bitbiome/classes/BlackJack.java b/src/main/java/org/bitbiome/classes/BlackJack.java index a3ac081..bc17c37 100644 --- a/src/main/java/org/bitbiome/classes/BlackJack.java +++ b/src/main/java/org/bitbiome/classes/BlackJack.java @@ -35,11 +35,13 @@ public class BlackJack { private String playerName; private int playerPoints; private int botPoints; + private boolean playerIn; public BlackJack(String playerName) { this.playerName = playerName; this.playerPoints = 0; this.botPoints = 0; + this.playerIn = true; } }