Browse Source

Edited BlackJack constructor

Set botPoints
remotes/origin/quiz
Friederike von Gruben 2 years ago
parent
commit
b17b3bc18a
  1. 2
      src/main/java/org/bitbiome/classes/BlackJack.java

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

@ -34,10 +34,12 @@ public class BlackJack {
private String playerName; private String playerName;
private int playerPoints; private int playerPoints;
private int botPoints;
public BlackJack(String playerName) { public BlackJack(String playerName) {
this.playerName = playerName; this.playerName = playerName;
this.playerPoints = 0; this.playerPoints = 0;
this.botPoints = 0;
} }
} }
Loading…
Cancel
Save