Browse Source

Edited BlackJack constructor

Set botIn = true
remotes/origin/quiz
Friederike von Gruben 2 years ago
parent
commit
04d9439db6
  1. 2
      src/main/java/org/bitbiome/classes/BlackJack.java

2
src/main/java/org/bitbiome/classes/BlackJack.java

@ -36,12 +36,14 @@ public class BlackJack {
private int playerPoints; private int playerPoints;
private int botPoints; private int botPoints;
private boolean playerIn; private boolean playerIn;
private boolean botIn;
public BlackJack(String playerName) { public BlackJack(String playerName) {
this.playerName = playerName; this.playerName = playerName;
this.playerPoints = 0; this.playerPoints = 0;
this.botPoints = 0; this.botPoints = 0;
this.playerIn = true; this.playerIn = true;
this.botIn = true;
} }
} }
Loading…
Cancel
Save