Browse Source

Edited BlackJack constructor

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

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

@ -35,11 +35,13 @@ public class BlackJack {
private String playerName; private String playerName;
private int playerPoints; private int playerPoints;
private int botPoints; private int botPoints;
private boolean playerIn;
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;
} }
} }
Loading…
Cancel
Save